2026-09-21 00:53:31,288 [ 210687 ] INFO : ClickHouse root is not set. Will use /home/ubuntu/_work/ClickHouse/ClickHouse (runner:53, check_args_and_update_paths) 2026-09-21 00:53:31,288 [ 210687 ] INFO : Cases dir is not set. Will use /home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration (runner:79, check_args_and_update_paths) 2026-09-21 00:53:31,288 [ 210687 ] INFO : utils dir is not set. Will use /home/ubuntu/_work/ClickHouse/ClickHouse/utils (runner:90, check_args_and_update_paths) 2026-09-21 00:53:31,288 [ 210687 ] INFO : base_configs_dir: /home/ubuntu/_work/ClickHouse/ClickHouse/programs/server, binary: /home/ubuntu/_work/_temp/test/build/clickhouse, cases_dir: /home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration (runner:92, check_args_and_update_paths) clickhouse_integration_tests_volume Running pytest container as: 'docker run --rm --name clickhouse_integration_tests_q7pglx --privileged --dns-search='.' --memory=30703247360 --security-opt seccomp=unconfined --cap-add=SYS_PTRACE --volume=/home/ubuntu/_work/_temp/test/build/clickhouse:/clickhouse --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/programs/server:/clickhouse-config --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration:/ClickHouse/tests/integration --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/utils/backupview:/ClickHouse/utils/backupview --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/utils/grpc-client/pb2:/ClickHouse/utils/grpc-client/pb2 --volume=/run:/run/host:ro --volume=clickhouse_integration_tests_volume:/var/lib/docker -e DOCKER_DOTNET_CLIENT_TAG=11de0b29a15d -e DOCKER_HELPER_TAG=5dc43a6382f0 -e DOCKER_BASE_TAG=5ccda723c1fc -e DOCKER_KERBEROS_KDC_TAG=9391ecdee8d7 -e DOCKER_MYSQL_GOLANG_CLIENT_TAG=9bec2a638e6e -e DOCKER_MYSQL_JAVA_CLIENT_TAG=766bff31cfe4 -e DOCKER_MYSQL_JS_CLIENT_TAG=41ba7c2ec2a1 -e DOCKER_MYSQL_PHP_CLIENT_TAG=88be89c1e3b6 -e DOCKER_NGINX_DAV_TAG=b55ac9cd7519 -e DOCKER_POSTGRESQL_JAVA_CLIENT_TAG=a4eff5c7f4d6 -e DOCKER_PYTHON_BOTTLE_TAG=d862517635bf -e DOCKER_CLIENT_TIMEOUT=300 -e COMPOSE_HTTP_TIMEOUT=600 -e PYTHONUNBUFFERED=1 -e PYTEST_ADDOPTS="--dist=loadfile -n 10 -rfEps --run-id=1 --color=no --durations=0 --report-log=parallel0_1.jsonl --report-log-exclude-logs-on-passed-tests test_attach_partition_using_copy/test.py::test_all_replicated test_attach_partition_using_copy/test.py::test_both_mergetree test_attach_partition_using_copy/test.py::test_not_work_on_different_disk test_attach_partition_using_copy/test.py::test_only_destination_replicated 'test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk]' 'test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume]' test_distributed_ddl_password/test.py::test_truncate -vvv " altinityinfra/integration-tests-runner:226bfaf75ac1 '. Start tests ============================= test session starts ============================== platform linux -- Python 3.10.12, pytest-7.4.4, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache Test order randomisation NOT enabled. Enable with --random-order or --random-order-bucket= rootdir: /ClickHouse/tests/integration configfile: pytest.ini plugins: timeout-2.3.1, repeat-0.9.3, order-1.0.0, reportlog-0.4.0, xdist-3.5.0, random-order-1.1.1 timeout: 900.0s timeout method: signal timeout func_only: False created: 10/10 workers 10 workers [7 items] scheduling tests via LoadFileScheduling test_attach_partition_using_copy/test.py::test_all_replicated test_distributed_ddl_password/test.py::test_truncate test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] [gw2] [ 14%] PASSED test_distributed_ddl_password/test.py::test_truncate [gw0] [ 28%] FAILED test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] [gw1] [ 42%] FAILED test_attach_partition_using_copy/test.py::test_all_replicated test_attach_partition_using_copy/test.py::test_both_mergetree [gw0] [ 57%] FAILED test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] [gw1] [ 71%] FAILED test_attach_partition_using_copy/test.py::test_both_mergetree test_attach_partition_using_copy/test.py::test_not_work_on_different_disk [gw1] [ 85%] FAILED test_attach_partition_using_copy/test.py::test_not_work_on_different_disk test_attach_partition_using_copy/test.py::test_only_destination_replicated [gw1] [100%] FAILED test_attach_partition_using_copy/test.py::test_only_destination_replicated =================================== FAILURES =================================== ____________________ test_cow_policy[cow_policy_multi_disk] ____________________ [gw0] linux -- Python 3.10.12 /usr/bin/python3 start_cluster = storage_policy = 'cow_policy_multi_disk' @pytest.mark.parametrize("storage_policy", ["cow_policy_multi_disk", "cow_policy_multi_volume"]) def test_cow_policy(start_cluster, storage_policy): try: > node.query_with_retry( f""" ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = '{storage_policy}' """, timeout=60, retry_count=3, ) test_cow_policy/test.py:24: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = sql = "\n ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7'\n (\n ...R BY (postcode1, postcode2, addr1, addr2)\n SETTINGS storage_policy = 'cow_policy_multi_disk'\n " stdin = None, timeout = 60, settings = None, user = None, password = None database = None, host = None, ignore_error = False, retry_count = 3 sleep_time = 0.5 check_callback = at 0x7f90e2afc040> parse = False def query_with_retry( self, sql, stdin=None, timeout=None, settings=None, user=None, password=None, database=None, host=None, ignore_error=False, retry_count=20, sleep_time=0.5, check_callback=lambda x: True, parse=False, ): # logging.debug(f"Executing query {sql} on {self.name}") result = None exception_msg = "" for i in range(retry_count): try: result = self.query( sql, stdin=stdin, timeout=timeout, settings=settings, user=user, password=password, database=database, host=host, ignore_error=ignore_error, parse=parse, ) if check_callback(result): return result time.sleep(sleep_time) except QueryRuntimeException as ex: exception_msg = f"{type(ex).__name__}: {str(ex)}" # Container is down, this is likely due to server crash. if "No route to host" in str(ex): raise time.sleep(sleep_time) except Exception as ex: # logging.debug("Retry {} got exception {}".format(i + 1, ex)) exception_msg = f"{type(ex).__name__}: {str(ex)}" time.sleep(sleep_time) if result is not None: return result > raise Exception(f"Can't execute query {sql}\n{exception_msg}") E Exception: Can't execute query E ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS storage_policy = 'cow_policy_multi_disk' E E QueryRuntimeException: Client failed! Return code: 198, stderr: Received exception from server (version 25.3.14): E Code: 198. DB::Exception: Received from 172.16.2.2:9000. DB::NetException. DB::NetException: Not found address of host: raw.githubusercontent.com: while loading disk metadata. Stack trace: E E 0. ./contrib/llvm-project/libcxx/include/__exception/exception.h:113: Poco::Exception::Exception(String const&, int) @ 0x000000003867ecd1 E 1. ./build_docker/./src/Common/Exception.cpp:108: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000001c089a11 E 2. ./src/Common/Exception.h:112: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x000000001c013fef E 3. ./build_docker/./src/Common/DNSResolver.cpp:113: DB::(anonymous namespace)::hostByName(String const&) @ 0x000000001c00d19e E 4. ./build_docker/./src/Common/DNSResolver.cpp:138: DB::DNSResolver::getResolvedIPAdressessWithFiltering(String const&) @ 0x000000001c00a128 E 5. ./build_docker/./src/Common/DNSResolver.cpp:256: DB::DNSResolver::resolveIPAddressWithCache(String const&) @ 0x000000001c00ab60 E 6. ./build_docker/./src/Common/DNSResolver.cpp:276: DB::DNSResolver::resolveHostAllInOriginOrder(String const&) @ 0x000000001c00b8a7 E 7. ./build_docker/./src/Common/HostResolvePool.cpp:54: std::vector> std::__function::__policy_invoker> (String const&)>::__call_impl[abi:ne190107]> (String const&)>>(std::__function::__policy_storage const*, String const&) @ 0x000000001c829520 E 8. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c825ca1 E 9. ./build_docker/./src/Common/HostResolvePool.cpp:66: DB::HostResolver::HostResolver(std::function> (String const&)>&&, String, Poco::Timespan) @ 0x000000001c82576d E 10. ./build_docker/./src/Common/HostResolvePool.cpp:53: DB::HostResolver::HostResolver(String, Poco::Timespan) @ 0x000000001c825134 E 11. ./src/Common/HostResolvePool.h:62: std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler::make_shared_enabler(String const&) @ 0x000000001c82e990 E 12. ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:41: std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler> std::allocate_shared[abi:ne190107] DB::HostResolver::create(String const&)::make_shared_enabler, std::allocator DB::HostResolver::create(String const&)::make_shared_enabler>, String const&, 0>(std::allocator DB::HostResolver::create(String const&)::make_shared_enabler> const&, String const&) @ 0x000000001c82e50d E 13. ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:851: DB::HostResolversPool::getResolver(String const&) @ 0x000000001c82930b E 14. ./build_docker/./src/Common/HTTPConnectionPool.cpp:671: DB::EndpointConnectionPool::prepareNewConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000001c810a68 E 15. ./build_docker/./src/Common/HTTPConnectionPool.cpp:590: DB::EndpointConnectionPool::getConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000001c80edf0 E 16. ./build_docker/./src/IO/HTTPCommon.cpp:63: DB::makeHTTPSession(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ConnectionTimeouts const&, DB::ProxyConfiguration const&, unsigned long*) @ 0x000000001c8392b4 E 17. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:267: DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x0000000021540c92 E 18. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:285: DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x000000002154131c E 19. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:408: DB::ReadWriteBufferFromHTTP::initialize() @ 0x000000002154239b E 20. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:472: void std::__function::__policy_invoker::__call_impl[abi:ne190107]>(std::__function::__policy_storage const*) @ 0x0000000021547cb8 E 21. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000002153cd11 E 22. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:465: DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x00000000215449c3 E 23. DB::ReadBuffer::next() @ 0x000000000c902256 E 24. ./src/IO/ReadBuffer.h:105: DB::WebObjectStorage::loadFiles(String const&, std::unique_lock const&) const @ 0x000000002899c2e2 E 25. ./build_docker/./src/Disks/ObjectStorages/Web/WebObjectStorage.cpp:225: DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x00000000289a0c3f E 26. ./build_docker/./src/Disks/ObjectStorages/Web/WebObjectStorage.cpp:185: DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x00000000289a0570 E 27. ./build_docker/./src/Disks/ObjectStorages/Web/MetadataStorageFromStaticFilesWebServer.cpp:106: DB::MetadataStorageFromStaticFilesWebServer::getStorageObjectsIfExist(String const&) const @ 0x00000000289986a6 E 28. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:785: DB::DiskObjectStorage::readFileIfExists(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000288a4bfe E 29. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:380: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000002f25f170 E 30. ./build_docker/./src/Storages/StorageMergeTree.cpp:159: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000002fa16dd6 E 31. ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:41: std::shared_ptr std::allocate_shared[abi:ne190107], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, 0>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000002fa16436 E . (DNS_ERROR) E (query: ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS storage_policy = 'cow_policy_multi_disk' E ) helpers/cluster.py:3712: Exception ---------------------------- Captured stdout setup ----------------------------- Copy common default production configuration from /clickhouse-config. Files: config.xml, users.xml ------------------------------ Captured log setup ------------------------------ 2026-09-21 00:53:38.466000 [ 591 ] DEBUG : Command:[docker ps | wc -l] (cluster.py:121, run_and_check) 2026-09-21 00:53:38.499000 [ 591 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2026-09-21 00:53:38.500000 [ 591 ] DEBUG : No running containers (conftest.py:95, cleanup_environment) 2026-09-21 00:53:38.500000 [ 591 ] DEBUG : Pruning Docker networks (conftest.py:97, cleanup_environment) 2026-09-21 00:53:38.500000 [ 591 ] DEBUG : Command:[docker network prune --force] (cluster.py:121, run_and_check) 2026-09-21 00:53:38.533000 [ 591 ] DEBUG : Command:[sysctl net.ipv4.ip_local_port_range='55000 65535'] (cluster.py:121, run_and_check) 2026-09-21 00:53:38.537000 [ 591 ] DEBUG : Stdout:net.ipv4.ip_local_port_range = 55000 65535 (cluster.py:145, run_and_check) 2026-09-21 00:53:38.538000 [ 591 ] INFO : Running tests in /ClickHouse/tests/integration/test_cow_policy/test.py (cluster.py:2738, start) 2026-09-21 00:53:38.538000 [ 591 ] DEBUG : Cluster start called. is_up=False (cluster.py:2745, start) 2026-09-21 00:53:38.572000 [ 591 ] DEBUG : Docker networks for project roottestcowpolicy-gw0 are NETWORK ID NAME DRIVER SCOPE (cluster.py:830, print_all_docker_pieces) 2026-09-21 00:53:38.608000 [ 591 ] DEBUG : Docker containers for project roottestcowpolicy-gw0 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:838, print_all_docker_pieces) 2026-09-21 00:53:38.646000 [ 591 ] DEBUG : Docker volumes for project roottestcowpolicy-gw0 are DRIVER VOLUME NAME (cluster.py:846, print_all_docker_pieces) 2026-09-21 00:53:38.646000 [ 591 ] DEBUG : Cleanup called (cluster.py:851, cleanup) 2026-09-21 00:53:38.680000 [ 591 ] DEBUG : Docker networks for project roottestcowpolicy-gw0 are NETWORK ID NAME DRIVER SCOPE (cluster.py:830, print_all_docker_pieces) 2026-09-21 00:53:38.710000 [ 591 ] DEBUG : Docker containers for project roottestcowpolicy-gw0 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:838, print_all_docker_pieces) 2026-09-21 00:53:38.741000 [ 591 ] DEBUG : Docker volumes for project roottestcowpolicy-gw0 are DRIVER VOLUME NAME (cluster.py:846, print_all_docker_pieces) 2026-09-21 00:53:38.741000 [ 591 ] DEBUG : Command:[docker container list --all --filter name='^/roottestcowpolicy-gw0-.*-1$' --format '{{.ID}}:{{.Names}}'] (cluster.py:121, run_and_check) 2026-09-21 00:53:38.773000 [ 591 ] DEBUG : Unstopped containers: {} (cluster.py:865, cleanup) 2026-09-21 00:53:38.773000 [ 591 ] DEBUG : No running containers for project: roottestcowpolicy-gw0 (cluster.py:879, cleanup) 2026-09-21 00:53:38.773000 [ 591 ] DEBUG : Trying to prune unused networks... (cluster.py:885, cleanup) 2026-09-21 00:53:38.805000 [ 591 ] DEBUG : Trying to prune unused images... (cluster.py:901, cleanup) 2026-09-21 00:53:38.805000 [ 591 ] DEBUG : Command:[docker image prune -f] (cluster.py:121, run_and_check) 2026-09-21 00:53:38.848000 [ 591 ] DEBUG : Stdout:Total reclaimed space: 0B (cluster.py:145, run_and_check) 2026-09-21 00:53:38.849000 [ 591 ] DEBUG : Images pruned (cluster.py:904, cleanup) 2026-09-21 00:53:38.849000 [ 591 ] DEBUG : Trying to prune unused volumes... (cluster.py:910, cleanup) 2026-09-21 00:53:38.849000 [ 591 ] DEBUG : Command:[docker volume ls | wc -l] (cluster.py:121, run_and_check) 2026-09-21 00:53:38.880000 [ 591 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2026-09-21 00:53:38.880000 [ 591 ] DEBUG : Volumes pruned: 1 (cluster.py:915, cleanup) 2026-09-21 00:53:38.880000 [ 591 ] DEBUG : Setup directory for instance: node (cluster.py:2758, start) 2026-09-21 00:53:38.881000 [ 591 ] DEBUG : Create directory for configuration generated in this helper (cluster.py:4628, create_dir) 2026-09-21 00:53:38.881000 [ 591 ] DEBUG : Create directory for common tests configuration (cluster.py:4633, create_dir) 2026-09-21 00:53:38.882000 [ 591 ] DEBUG : Copy common configuration from helpers (cluster.py:4653, create_dir) 2026-09-21 00:53:38.882000 [ 591 ] DEBUG : Generate and write macros file (cluster.py:4705, create_dir) 2026-09-21 00:53:38.883000 [ 591 ] DEBUG : Copy custom test config files ['/ClickHouse/tests/integration/test_cow_policy/configs/overrides.yaml'] to /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw0/node/configs/config.d (cluster.py:4741, create_dir) 2026-09-21 00:53:38.884000 [ 591 ] DEBUG : Setup database dir /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw0/node/database (cluster.py:4758, create_dir) 2026-09-21 00:53:38.884000 [ 591 ] DEBUG : Setup logs dir /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw0/node/logs (cluster.py:4769, create_dir) 2026-09-21 00:53:38.884000 [ 591 ] DEBUG : Entrypoint cmd: ["clickhouse", "server", "--config-file=/etc/clickhouse-server/config.xml", "--log-file=/var/log/clickhouse-server/clickhouse-server.log", "--errorlog-file=/var/log/clickhouse-server/clickhouse-server.err.log", "--"] (cluster.py:4850, create_dir) 2026-09-21 00:53:38.884000 [ 591 ] DEBUG : Env {'ASAN_OPTIONS': 'use_sigaltstack=0', 'TSAN_OPTIONS': 'use_sigaltstack=0', 'CLICKHOUSE_WATCHDOG_ENABLE': '0', 'CLICKHOUSE_NATS_TLS_SECURE': '0', 'LLVM_PROFILE_FILE': '/var/lib/clickhouse/server_%h_%p_%m.profraw'} stored in /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw0/.env (cluster.py:96, _create_env_file) 2026-09-21 00:53:38.885000 [ 591 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2026-09-21 00:53:38.885000 [ 591 ] DEBUG : No config file found (config.py:28, find_config_file) 2026-09-21 00:53:38.885000 [ 591 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2026-09-21 00:53:38.885000 [ 591 ] DEBUG : No config file found (config.py:28, find_config_file) 2026-09-21 00:53:38.899000 [ 591 ] DEBUG : http://localhost:None "GET /version HTTP/1.1" 200 826 (connectionpool.py:547, _make_request) 2026-09-21 00:53:38.900000 [ 591 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw0/.env --project-name roottestcowpolicy-gw0 --file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw0/node/docker-compose.yml pull] (cluster.py:121, run_and_check) 2026-09-21 00:53:49.439000 [ 591 ] DEBUG : Stderr: node Pulling (cluster.py:147, run_and_check) 2026-09-21 00:53:49.439000 [ 591 ] DEBUG : Stderr: node Pulled (cluster.py:147, run_and_check) 2026-09-21 00:53:49.439000 [ 591 ] DEBUG : ('Trying to create ClickHouse instance by command %s', 'docker compose --env-file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw0/.env --project-name roottestcowpolicy-gw0 --file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw0/node/docker-compose.yml up -d --no-recreate') (cluster.py:3139, start) 2026-09-21 00:53:49.439000 [ 591 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw0/.env --project-name roottestcowpolicy-gw0 --file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw0/node/docker-compose.yml up -d --no-recreate] (cluster.py:121, run_and_check) 2026-09-21 00:53:50.427000 [ 591 ] DEBUG : Stderr: Network roottestcowpolicy-gw0_default Creating (cluster.py:147, run_and_check) 2026-09-21 00:53:50.427000 [ 591 ] DEBUG : Stderr: Network roottestcowpolicy-gw0_default Created (cluster.py:147, run_and_check) 2026-09-21 00:53:50.428000 [ 591 ] DEBUG : Stderr: Container roottestcowpolicy-gw0-node-1 Creating (cluster.py:147, run_and_check) 2026-09-21 00:53:50.428000 [ 591 ] DEBUG : Stderr: Container roottestcowpolicy-gw0-node-1 Created (cluster.py:147, run_and_check) 2026-09-21 00:53:50.428000 [ 591 ] DEBUG : Stderr: Container roottestcowpolicy-gw0-node-1 Starting (cluster.py:147, run_and_check) 2026-09-21 00:53:50.428000 [ 591 ] DEBUG : Stderr: Container roottestcowpolicy-gw0-node-1 Started (cluster.py:147, run_and_check) 2026-09-21 00:53:50.428000 [ 591 ] DEBUG : ClickHouse instance created (cluster.py:3147, start) 2026-09-21 00:53:50.428000 [ 591 ] DEBUG : get_instance_ip instance_name=node (cluster.py:2005, get_instance_ip) 2026-09-21 00:53:50.430000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestcowpolicy-gw0-node-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:50.431000 [ 591 ] DEBUG : get_instance_ip instance_name=node (cluster.py:2015, get_instance_global_ipv6) 2026-09-21 00:53:50.433000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestcowpolicy-gw0-node-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:50.434000 [ 591 ] DEBUG : Waiting for ClickHouse start in node, ip: 172.16.2.2... (cluster.py:3155, start) 2026-09-21 00:53:50.436000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestcowpolicy-gw0-node-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:50.438000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/795e05c61bed46bdc7e5a29de4e7e000c622b74b66fbf45b1d3a2aad547543a9/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:50.542000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/795e05c61bed46bdc7e5a29de4e7e000c622b74b66fbf45b1d3a2aad547543a9/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:50.645000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/795e05c61bed46bdc7e5a29de4e7e000c622b74b66fbf45b1d3a2aad547543a9/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:50.749000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/795e05c61bed46bdc7e5a29de4e7e000c622b74b66fbf45b1d3a2aad547543a9/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:50.852000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/795e05c61bed46bdc7e5a29de4e7e000c622b74b66fbf45b1d3a2aad547543a9/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:50.955000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/795e05c61bed46bdc7e5a29de4e7e000c622b74b66fbf45b1d3a2aad547543a9/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:51.059000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/795e05c61bed46bdc7e5a29de4e7e000c622b74b66fbf45b1d3a2aad547543a9/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:51.162000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/795e05c61bed46bdc7e5a29de4e7e000c622b74b66fbf45b1d3a2aad547543a9/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:51.266000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/795e05c61bed46bdc7e5a29de4e7e000c622b74b66fbf45b1d3a2aad547543a9/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:51.370000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/795e05c61bed46bdc7e5a29de4e7e000c622b74b66fbf45b1d3a2aad547543a9/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:51.474000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/795e05c61bed46bdc7e5a29de4e7e000c622b74b66fbf45b1d3a2aad547543a9/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:51.578000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/795e05c61bed46bdc7e5a29de4e7e000c622b74b66fbf45b1d3a2aad547543a9/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:51.681000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/795e05c61bed46bdc7e5a29de4e7e000c622b74b66fbf45b1d3a2aad547543a9/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:51.785000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/795e05c61bed46bdc7e5a29de4e7e000c622b74b66fbf45b1d3a2aad547543a9/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:51.888000 [ 591 ] DEBUG : http://localhost:None "GET /v1.46/containers/795e05c61bed46bdc7e5a29de4e7e000c622b74b66fbf45b1d3a2aad547543a9/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:51.889000 [ 591 ] DEBUG : ClickHouse node started (cluster.py:3159, start) ------------------------------ Captured log call ------------------------------- 2026-09-21 00:53:51.892000 [ 591 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_disk' on node (cluster.py:3648, query) 2026-09-21 00:54:46.020000 [ 591 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_disk' on node (cluster.py:3648, query) 2026-09-21 00:55:40.602000 [ 591 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_disk' on node (cluster.py:3648, query) 2026-09-21 00:56:35.835000 [ 591 ] DEBUG : Executing query DROP TABLE IF EXISTS uk_price_paid SYNC on node (cluster.py:3648, query) _____________________________ test_all_replicated ______________________________ [gw1] linux -- Python 3.10.12 /usr/bin/python3 start_cluster = def test_all_replicated(start_cluster): cleanup([replica1, replica2]) > create_source_table(replica1, "source", True) test_attach_partition_using_copy/test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_attach_partition_using_copy/test.py:40: in create_source_table node.query_with_retry( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = sql = "\n ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7'\n (\n price UInt32,\n ...disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/')\n " stdin = None, timeout = 60, settings = None, user = None, password = None database = None, host = None, ignore_error = False, retry_count = 3 sleep_time = 0.5 check_callback = at 0x7f0c1e564040> parse = False def query_with_retry( self, sql, stdin=None, timeout=None, settings=None, user=None, password=None, database=None, host=None, ignore_error=False, retry_count=20, sleep_time=0.5, check_callback=lambda x: True, parse=False, ): # logging.debug(f"Executing query {sql} on {self.name}") result = None exception_msg = "" for i in range(retry_count): try: result = self.query( sql, stdin=stdin, timeout=timeout, settings=settings, user=user, password=password, database=database, host=host, ignore_error=ignore_error, parse=parse, ) if check_callback(result): return result time.sleep(sleep_time) except QueryRuntimeException as ex: exception_msg = f"{type(ex).__name__}: {str(ex)}" # Container is down, this is likely due to server crash. if "No route to host" in str(ex): raise time.sleep(sleep_time) except Exception as ex: # logging.debug("Retry {} got exception {}".format(i + 1, ex)) exception_msg = f"{type(ex).__name__}: {str(ex)}" time.sleep(sleep_time) if result is not None: return result > raise Exception(f"Can't execute query {sql}\n{exception_msg}") E Exception: Can't execute query E ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = ReplicatedMergeTree('/clickhouse/tables/1/source', 'replica1') E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') E E QueryRuntimeException: Client failed! Return code: 198, stderr: Received exception from server (version 25.3.14): E Code: 198. DB::Exception: Received from 172.16.3.5:9000. DB::NetException. DB::NetException: Not found address of host: raw.githubusercontent.com: while loading disk metadata. Stack trace: E E 0. ./contrib/llvm-project/libcxx/include/__exception/exception.h:113: Poco::Exception::Exception(String const&, int) @ 0x000000003867ecd1 E 1. ./build_docker/./src/Common/Exception.cpp:108: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000001c089a11 E 2. ./src/Common/Exception.h:112: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x000000001c013fef E 3. ./build_docker/./src/Common/DNSResolver.cpp:113: DB::(anonymous namespace)::hostByName(String const&) @ 0x000000001c00d19e E 4. ./build_docker/./src/Common/DNSResolver.cpp:138: DB::DNSResolver::getResolvedIPAdressessWithFiltering(String const&) @ 0x000000001c00a128 E 5. ./build_docker/./src/Common/DNSResolver.cpp:256: DB::DNSResolver::resolveIPAddressWithCache(String const&) @ 0x000000001c00ab60 E 6. ./build_docker/./src/Common/DNSResolver.cpp:276: DB::DNSResolver::resolveHostAllInOriginOrder(String const&) @ 0x000000001c00b8a7 E 7. ./build_docker/./src/Common/HostResolvePool.cpp:54: std::vector> std::__function::__policy_invoker> (String const&)>::__call_impl[abi:ne190107]> (String const&)>>(std::__function::__policy_storage const*, String const&) @ 0x000000001c829520 E 8. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c825ca1 E 9. ./build_docker/./src/Common/HostResolvePool.cpp:66: DB::HostResolver::HostResolver(std::function> (String const&)>&&, String, Poco::Timespan) @ 0x000000001c82576d E 10. ./build_docker/./src/Common/HostResolvePool.cpp:53: DB::HostResolver::HostResolver(String, Poco::Timespan) @ 0x000000001c825134 E 11. ./src/Common/HostResolvePool.h:62: std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler::make_shared_enabler(String const&) @ 0x000000001c82e990 E 12. ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:41: std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler> std::allocate_shared[abi:ne190107] DB::HostResolver::create(String const&)::make_shared_enabler, std::allocator DB::HostResolver::create(String const&)::make_shared_enabler>, String const&, 0>(std::allocator DB::HostResolver::create(String const&)::make_shared_enabler> const&, String const&) @ 0x000000001c82e50d E 13. ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:851: DB::HostResolversPool::getResolver(String const&) @ 0x000000001c82930b E 14. ./build_docker/./src/Common/HTTPConnectionPool.cpp:671: DB::EndpointConnectionPool::prepareNewConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000001c810a68 E 15. ./build_docker/./src/Common/HTTPConnectionPool.cpp:590: DB::EndpointConnectionPool::getConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000001c80edf0 E 16. ./build_docker/./src/IO/HTTPCommon.cpp:63: DB::makeHTTPSession(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ConnectionTimeouts const&, DB::ProxyConfiguration const&, unsigned long*) @ 0x000000001c8392b4 E 17. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:267: DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x0000000021540c92 E 18. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:285: DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x000000002154131c E 19. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:408: DB::ReadWriteBufferFromHTTP::initialize() @ 0x000000002154239b E 20. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:472: void std::__function::__policy_invoker::__call_impl[abi:ne190107]>(std::__function::__policy_storage const*) @ 0x0000000021547cb8 E 21. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000002153cd11 E 22. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:465: DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x00000000215449c3 E 23. DB::ReadBuffer::next() @ 0x000000000c902256 E 24. ./src/IO/ReadBuffer.h:105: DB::WebObjectStorage::loadFiles(String const&, std::unique_lock const&) const @ 0x000000002899c2e2 E 25. ./build_docker/./src/Disks/ObjectStorages/Web/WebObjectStorage.cpp:225: DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x00000000289a0c3f E 26. ./build_docker/./src/Disks/ObjectStorages/Web/WebObjectStorage.cpp:185: DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x00000000289a0570 E 27. ./build_docker/./src/Disks/ObjectStorages/Web/MetadataStorageFromStaticFilesWebServer.cpp:106: DB::MetadataStorageFromStaticFilesWebServer::getStorageObjectsIfExist(String const&) const @ 0x00000000289986a6 E 28. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:785: DB::DiskObjectStorage::readFileIfExists(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000288a4bfe E 29. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:380: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000002f25f170 E 30. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:420: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(DB::TableZnodeInfo const&, DB::LoadingStrictnessLevel, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::ZooKeeperRetriesInfo const&) @ 0x000000002e80097c E 31. ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:41: std::shared_ptr std::allocate_shared[abi:ne190107], DB::TableZnodeInfo&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool&, DB::ZooKeeperRetriesInfo&, 0>(std::allocator const&, DB::TableZnodeInfo&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool&, DB::ZooKeeperRetriesInfo&) @ 0x000000002fa15fc1 E . (DNS_ERROR) E (query: ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = ReplicatedMergeTree('/clickhouse/tables/1/source', 'replica1') E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') E ) helpers/cluster.py:3712: Exception ---------------------------- Captured stdout setup ----------------------------- Copy common default production configuration from /clickhouse-config. Files: config.xml, users.xml Copy common default production configuration from /clickhouse-config. Files: config.xml, users.xml ------------------------------ Captured log setup ------------------------------ 2026-09-21 00:53:38.467000 [ 594 ] DEBUG : Command:[docker ps | wc -l] (cluster.py:121, run_and_check) 2026-09-21 00:53:38.503000 [ 594 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2026-09-21 00:53:38.503000 [ 594 ] DEBUG : No running containers (conftest.py:95, cleanup_environment) 2026-09-21 00:53:38.503000 [ 594 ] DEBUG : Pruning Docker networks (conftest.py:97, cleanup_environment) 2026-09-21 00:53:38.503000 [ 594 ] DEBUG : Command:[docker network prune --force] (cluster.py:121, run_and_check) 2026-09-21 00:53:38.541000 [ 594 ] DEBUG : Command:[sysctl net.ipv4.ip_local_port_range='55000 65535'] (cluster.py:121, run_and_check) 2026-09-21 00:53:38.544000 [ 594 ] DEBUG : Stdout:net.ipv4.ip_local_port_range = 55000 65535 (cluster.py:145, run_and_check) 2026-09-21 00:53:38.544000 [ 594 ] INFO : Running tests in /ClickHouse/tests/integration/test_attach_partition_using_copy/test.py (cluster.py:2738, start) 2026-09-21 00:53:38.545000 [ 594 ] DEBUG : Cluster start called. is_up=False (cluster.py:2745, start) 2026-09-21 00:53:38.575000 [ 594 ] DEBUG : Docker networks for project roottestattachpartitionusingcopy-gw1 are NETWORK ID NAME DRIVER SCOPE (cluster.py:830, print_all_docker_pieces) 2026-09-21 00:53:38.610000 [ 594 ] DEBUG : Docker containers for project roottestattachpartitionusingcopy-gw1 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:838, print_all_docker_pieces) 2026-09-21 00:53:38.643000 [ 594 ] DEBUG : Docker volumes for project roottestattachpartitionusingcopy-gw1 are DRIVER VOLUME NAME (cluster.py:846, print_all_docker_pieces) 2026-09-21 00:53:38.643000 [ 594 ] DEBUG : Cleanup called (cluster.py:851, cleanup) 2026-09-21 00:53:38.677000 [ 594 ] DEBUG : Docker networks for project roottestattachpartitionusingcopy-gw1 are NETWORK ID NAME DRIVER SCOPE (cluster.py:830, print_all_docker_pieces) 2026-09-21 00:53:38.710000 [ 594 ] DEBUG : Docker containers for project roottestattachpartitionusingcopy-gw1 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:838, print_all_docker_pieces) 2026-09-21 00:53:38.741000 [ 594 ] DEBUG : Docker volumes for project roottestattachpartitionusingcopy-gw1 are DRIVER VOLUME NAME (cluster.py:846, print_all_docker_pieces) 2026-09-21 00:53:38.741000 [ 594 ] DEBUG : Command:[docker container list --all --filter name='^/roottestattachpartitionusingcopy-gw1-.*-1$' --format '{{.ID}}:{{.Names}}'] (cluster.py:121, run_and_check) 2026-09-21 00:53:38.773000 [ 594 ] DEBUG : Unstopped containers: {} (cluster.py:865, cleanup) 2026-09-21 00:53:38.773000 [ 594 ] DEBUG : No running containers for project: roottestattachpartitionusingcopy-gw1 (cluster.py:879, cleanup) 2026-09-21 00:53:38.774000 [ 594 ] DEBUG : Trying to prune unused networks... (cluster.py:885, cleanup) 2026-09-21 00:53:38.807000 [ 594 ] DEBUG : Trying to prune unused images... (cluster.py:901, cleanup) 2026-09-21 00:53:38.807000 [ 594 ] DEBUG : Command:[docker image prune -f] (cluster.py:121, run_and_check) 2026-09-21 00:53:38.837000 [ 594 ] DEBUG : Stderr:Error response from daemon: a prune operation is already running (cluster.py:147, run_and_check) 2026-09-21 00:53:38.838000 [ 594 ] DEBUG : Exitcode:1 (cluster.py:149, run_and_check) 2026-09-21 00:53:38.838000 [ 594 ] DEBUG : Trying to prune unused volumes... (cluster.py:910, cleanup) 2026-09-21 00:53:38.838000 [ 594 ] DEBUG : Command:[docker volume ls | wc -l] (cluster.py:121, run_and_check) 2026-09-21 00:53:38.859000 [ 594 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2026-09-21 00:53:38.859000 [ 594 ] DEBUG : Volumes pruned: 1 (cluster.py:915, cleanup) 2026-09-21 00:53:38.859000 [ 594 ] DEBUG : Setup directory for instance: replica1 (cluster.py:2758, start) 2026-09-21 00:53:38.861000 [ 594 ] DEBUG : Create directory for configuration generated in this helper (cluster.py:4628, create_dir) 2026-09-21 00:53:38.861000 [ 594 ] DEBUG : Create directory for common tests configuration (cluster.py:4633, create_dir) 2026-09-21 00:53:38.861000 [ 594 ] DEBUG : Copy common configuration from helpers (cluster.py:4653, create_dir) 2026-09-21 00:53:38.862000 [ 594 ] DEBUG : Generate and write macros file (cluster.py:4705, create_dir) 2026-09-21 00:53:38.863000 [ 594 ] DEBUG : Copy custom test config files ['/ClickHouse/tests/integration/test_attach_partition_using_copy/configs/remote_servers.xml'] to /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica1/configs/config.d (cluster.py:4741, create_dir) 2026-09-21 00:53:38.863000 [ 594 ] DEBUG : Setup database dir /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica1/database (cluster.py:4758, create_dir) 2026-09-21 00:53:38.864000 [ 594 ] DEBUG : Setup logs dir /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica1/logs (cluster.py:4769, create_dir) 2026-09-21 00:53:38.864000 [ 594 ] DEBUG : Entrypoint cmd: ["clickhouse", "server", "--config-file=/etc/clickhouse-server/config.xml", "--log-file=/var/log/clickhouse-server/clickhouse-server.log", "--errorlog-file=/var/log/clickhouse-server/clickhouse-server.err.log", "--"] (cluster.py:4850, create_dir) 2026-09-21 00:53:38.864000 [ 594 ] DEBUG : Setup directory for instance: replica2 (cluster.py:2758, start) 2026-09-21 00:53:38.865000 [ 594 ] DEBUG : Create directory for configuration generated in this helper (cluster.py:4628, create_dir) 2026-09-21 00:53:38.865000 [ 594 ] DEBUG : Create directory for common tests configuration (cluster.py:4633, create_dir) 2026-09-21 00:53:38.865000 [ 594 ] DEBUG : Copy common configuration from helpers (cluster.py:4653, create_dir) 2026-09-21 00:53:38.866000 [ 594 ] DEBUG : Generate and write macros file (cluster.py:4705, create_dir) 2026-09-21 00:53:38.867000 [ 594 ] DEBUG : Copy custom test config files ['/ClickHouse/tests/integration/test_attach_partition_using_copy/configs/remote_servers.xml'] to /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica2/configs/config.d (cluster.py:4741, create_dir) 2026-09-21 00:53:38.867000 [ 594 ] DEBUG : Setup database dir /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica2/database (cluster.py:4758, create_dir) 2026-09-21 00:53:38.867000 [ 594 ] DEBUG : Setup logs dir /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica2/logs (cluster.py:4769, create_dir) 2026-09-21 00:53:38.867000 [ 594 ] DEBUG : Entrypoint cmd: ["clickhouse", "server", "--config-file=/etc/clickhouse-server/config.xml", "--log-file=/var/log/clickhouse-server/clickhouse-server.log", "--errorlog-file=/var/log/clickhouse-server/clickhouse-server.err.log", "--"] (cluster.py:4850, create_dir) 2026-09-21 00:53:38.867000 [ 594 ] DEBUG : Env {'ASAN_OPTIONS': 'use_sigaltstack=0', 'TSAN_OPTIONS': 'use_sigaltstack=0', 'CLICKHOUSE_WATCHDOG_ENABLE': '0', 'CLICKHOUSE_NATS_TLS_SECURE': '0', 'LLVM_PROFILE_FILE': '/var/lib/clickhouse/server_%h_%p_%m.profraw', 'keeper_binary': '/clickhouse', 'keeper_cmd_prefix': 'clickhouse keeper', 'image': 'altinityinfra/integration-test:5ccda723c1fc', 'user': '0', 'keeper_fs': 'bind', 'keeper_logs_dir1': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper1/log', 'keeper_config_dir1': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper1/config', 'keeper_db_dir1': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper1/coordination', 'keeper_logs_dir2': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper2/log', 'keeper_config_dir2': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper2/config', 'keeper_db_dir2': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper2/coordination', 'keeper_logs_dir3': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper3/log', 'keeper_config_dir3': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper3/config', 'keeper_db_dir3': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper3/coordination'} stored in /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/.env (cluster.py:96, _create_env_file) 2026-09-21 00:53:38.868000 [ 594 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2026-09-21 00:53:38.868000 [ 594 ] DEBUG : No config file found (config.py:28, find_config_file) 2026-09-21 00:53:38.868000 [ 594 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2026-09-21 00:53:38.868000 [ 594 ] DEBUG : No config file found (config.py:28, find_config_file) 2026-09-21 00:53:38.879000 [ 594 ] DEBUG : http://localhost:None "GET /version HTTP/1.1" 200 826 (connectionpool.py:547, _make_request) 2026-09-21 00:53:38.880000 [ 594 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/.env --project-name roottestattachpartitionusingcopy-gw1 --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica1/docker-compose.yml --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica2/docker-compose.yml pull] (cluster.py:121, run_and_check) 2026-09-21 00:53:49.438000 [ 594 ] DEBUG : Stderr: zoo1 Skipped - Image is already being pulled by replica1 (cluster.py:147, run_and_check) 2026-09-21 00:53:49.438000 [ 594 ] DEBUG : Stderr: zoo2 Skipped - Image is already being pulled by replica1 (cluster.py:147, run_and_check) 2026-09-21 00:53:49.438000 [ 594 ] DEBUG : Stderr: zoo3 Skipped - Image is already being pulled by replica1 (cluster.py:147, run_and_check) 2026-09-21 00:53:49.438000 [ 594 ] DEBUG : Stderr: replica2 Skipped - Image is already being pulled by replica1 (cluster.py:147, run_and_check) 2026-09-21 00:53:49.439000 [ 594 ] DEBUG : Stderr: replica1 Pulling (cluster.py:147, run_and_check) 2026-09-21 00:53:49.439000 [ 594 ] DEBUG : Stderr: replica1 Pulled (cluster.py:147, run_and_check) 2026-09-21 00:53:49.439000 [ 594 ] DEBUG : Setup ZooKeeper (cluster.py:2799, start) 2026-09-21 00:53:49.439000 [ 594 ] DEBUG : Creating internal ZooKeeper dirs: ['/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper1/log', '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper1/config', '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper1/coordination', '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper2/log', '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper2/config', '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper2/coordination', '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper3/log', '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper3/config', '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/keeper3/coordination'] (cluster.py:2800, start) 2026-09-21 00:53:49.441000 [ 594 ] DEBUG : Command:[docker compose --project-name roottestattachpartitionusingcopy-gw1 --env-file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/.env --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --verbose up -d] (cluster.py:121, run_and_check) 2026-09-21 00:53:50.777000 [ 594 ] DEBUG : Stderr:time="2026-09-21T00:53:49Z" level=trace msg="Docker Desktop integration not enabled" (cluster.py:147, run_and_check) 2026-09-21 00:53:50.777000 [ 594 ] DEBUG : Stderr: Network roottestattachpartitionusingcopy-gw1_default Creating (cluster.py:147, run_and_check) 2026-09-21 00:53:50.777000 [ 594 ] DEBUG : Stderr: Network roottestattachpartitionusingcopy-gw1_default Created (cluster.py:147, run_and_check) 2026-09-21 00:53:50.777000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo3-1 Creating (cluster.py:147, run_and_check) 2026-09-21 00:53:50.778000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo2-1 Creating (cluster.py:147, run_and_check) 2026-09-21 00:53:50.778000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo1-1 Creating (cluster.py:147, run_and_check) 2026-09-21 00:53:50.778000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo1-1 Created (cluster.py:147, run_and_check) 2026-09-21 00:53:50.778000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo3-1 Created (cluster.py:147, run_and_check) 2026-09-21 00:53:50.778000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo2-1 Created (cluster.py:147, run_and_check) 2026-09-21 00:53:50.778000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo3-1 Starting (cluster.py:147, run_and_check) 2026-09-21 00:53:50.778000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo1-1 Starting (cluster.py:147, run_and_check) 2026-09-21 00:53:50.778000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo2-1 Starting (cluster.py:147, run_and_check) 2026-09-21 00:53:50.778000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo3-1 Started (cluster.py:147, run_and_check) 2026-09-21 00:53:50.778000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo1-1 Started (cluster.py:147, run_and_check) 2026-09-21 00:53:50.779000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo2-1 Started (cluster.py:147, run_and_check) 2026-09-21 00:53:50.779000 [ 594 ] DEBUG : Stderr:time="2026-09-21T00:53:50Z" level=debug msg="otel error" error="" (cluster.py:147, run_and_check) 2026-09-21 00:53:50.779000 [ 594 ] DEBUG : Stderr:time="2026-09-21T00:53:50Z" level=debug msg="otel error" error="" (cluster.py:147, run_and_check) 2026-09-21 00:53:50.779000 [ 594 ] DEBUG : Wait ZooKeeper to start (cluster.py:2436, wait_zookeeper_to_start) 2026-09-21 00:53:50.779000 [ 594 ] DEBUG : get_instance_ip instance_name=zoo1 (cluster.py:2005, get_instance_ip) 2026-09-21 00:53:50.782000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw1-zoo1-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:50.782000 [ 594 ] DEBUG : get_kazoo_client: zoo1, ip:172.16.3.4, port:2181, use_ssl:False (cluster.py:3312, get_kazoo_client) 2026-09-21 00:53:50.784000 [ 594 ] INFO : Connecting to 172.16.3.4(172.16.3.4):2181, use_ssl: False (connection.py:650, _connect) 2026-09-21 00:53:50.785000 [ 594 ] WARNING : Connection dropped: socket connection error: Connection refused (connection.py:622, _connect_attempt) 2026-09-21 00:53:50.913000 [ 594 ] INFO : Connecting to 172.16.3.4(172.16.3.4):2181, use_ssl: False (connection.py:650, _connect) 2026-09-21 00:53:50.913000 [ 594 ] WARNING : Connection dropped: socket connection error: Connection refused (connection.py:622, _connect_attempt) 2026-09-21 00:53:51.232000 [ 594 ] INFO : Connecting to 172.16.3.4(172.16.3.4):2181, use_ssl: False (connection.py:650, _connect) 2026-09-21 00:53:51.233000 [ 594 ] WARNING : Connection dropped: socket connection error: Connection refused (connection.py:622, _connect_attempt) 2026-09-21 00:53:51.895000 [ 594 ] INFO : Connecting to 172.16.3.4(172.16.3.4):2181, use_ssl: False (connection.py:650, _connect) 2026-09-21 00:53:51.896000 [ 594 ] WARNING : Connection dropped: socket connection error: Connection refused (connection.py:622, _connect_attempt) 2026-09-21 00:53:53.016000 [ 594 ] INFO : Connecting to 172.16.3.4(172.16.3.4):2181, use_ssl: False (connection.py:650, _connect) 2026-09-21 00:53:53.017000 [ 594 ] WARNING : Connection dropped: socket connection error: Connection refused (connection.py:622, _connect_attempt) 2026-09-21 00:53:54.692000 [ 594 ] INFO : Connecting to 172.16.3.4(172.16.3.4):2181, use_ssl: False (connection.py:650, _connect) 2026-09-21 00:53:54.692000 [ 594 ] DEBUG : Sending request(xid=None): Connect(protocol_version=0, last_zxid_seen=0, time_out=30000, session_id=0, passwd=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', read_only=None) (connection.py:312, _submit) 2026-09-21 00:53:54.698000 [ 594 ] INFO : Zookeeper connection established, state: CONNECTED (client.py:532, _session_callback) 2026-09-21 00:53:54.699000 [ 594 ] DEBUG : Sending request(xid=1): GetChildren(path='/', watcher=None) (connection.py:312, _submit) 2026-09-21 00:53:54.700000 [ 594 ] DEBUG : Received response(xid=1): ['keeper'] (connection.py:410, _read_response) 2026-09-21 00:53:54.700000 [ 594 ] DEBUG : Sending request(xid=2): Close() (connection.py:312, _submit) 2026-09-21 00:53:54.705000 [ 594 ] WARNING : Connection dropped: socket connection broken (connection.py:622, _connect_attempt) 2026-09-21 00:53:54.705000 [ 594 ] WARNING : Transition to CONNECTING (connection.py:626, _connect_attempt) 2026-09-21 00:53:54.705000 [ 594 ] INFO : Zookeeper connection lost (client.py:543, _session_callback) 2026-09-21 00:53:54.803000 [ 594 ] WARNING : Failed connecting to Zookeeper within the connection retry policy. (connection.py:515, zk_loop) 2026-09-21 00:53:54.804000 [ 594 ] INFO : Zookeeper session closed, state: CLOSED (client.py:537, _session_callback) 2026-09-21 00:53:54.804000 [ 594 ] DEBUG : get_instance_ip instance_name=zoo2 (cluster.py:2005, get_instance_ip) 2026-09-21 00:53:54.807000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw1-zoo2-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:54.808000 [ 594 ] DEBUG : get_kazoo_client: zoo2, ip:172.16.3.3, port:2181, use_ssl:False (cluster.py:3312, get_kazoo_client) 2026-09-21 00:53:54.809000 [ 594 ] INFO : Connecting to 172.16.3.3(172.16.3.3):2181, use_ssl: False (connection.py:650, _connect) 2026-09-21 00:53:54.810000 [ 594 ] DEBUG : Sending request(xid=None): Connect(protocol_version=0, last_zxid_seen=0, time_out=30000, session_id=0, passwd=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', read_only=None) (connection.py:312, _submit) 2026-09-21 00:53:54.819000 [ 594 ] INFO : Zookeeper connection established, state: CONNECTED (client.py:532, _session_callback) 2026-09-21 00:53:54.819000 [ 594 ] DEBUG : Sending request(xid=1): GetChildren(path='/', watcher=None) (connection.py:312, _submit) 2026-09-21 00:53:54.820000 [ 594 ] DEBUG : Received response(xid=1): ['keeper'] (connection.py:410, _read_response) 2026-09-21 00:53:54.821000 [ 594 ] DEBUG : Sending request(xid=2): Close() (connection.py:312, _submit) 2026-09-21 00:53:54.826000 [ 594 ] WARNING : Connection dropped: socket connection broken (connection.py:622, _connect_attempt) 2026-09-21 00:53:54.826000 [ 594 ] WARNING : Transition to CONNECTING (connection.py:626, _connect_attempt) 2026-09-21 00:53:54.826000 [ 594 ] INFO : Zookeeper connection lost (client.py:543, _session_callback) 2026-09-21 00:53:54.891000 [ 594 ] WARNING : Failed connecting to Zookeeper within the connection retry policy. (connection.py:515, zk_loop) 2026-09-21 00:53:54.891000 [ 594 ] INFO : Zookeeper session closed, state: CLOSED (client.py:537, _session_callback) 2026-09-21 00:53:54.892000 [ 594 ] DEBUG : get_instance_ip instance_name=zoo3 (cluster.py:2005, get_instance_ip) 2026-09-21 00:53:54.895000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw1-zoo3-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:54.895000 [ 594 ] DEBUG : get_kazoo_client: zoo3, ip:172.16.3.2, port:2181, use_ssl:False (cluster.py:3312, get_kazoo_client) 2026-09-21 00:53:54.897000 [ 594 ] INFO : Connecting to 172.16.3.2(172.16.3.2):2181, use_ssl: False (connection.py:650, _connect) 2026-09-21 00:53:54.897000 [ 594 ] DEBUG : Sending request(xid=None): Connect(protocol_version=0, last_zxid_seen=0, time_out=30000, session_id=0, passwd=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', read_only=None) (connection.py:312, _submit) 2026-09-21 00:53:54.906000 [ 594 ] INFO : Zookeeper connection established, state: CONNECTED (client.py:532, _session_callback) 2026-09-21 00:53:54.907000 [ 594 ] DEBUG : Sending request(xid=1): GetChildren(path='/', watcher=None) (connection.py:312, _submit) 2026-09-21 00:53:54.908000 [ 594 ] DEBUG : Received response(xid=1): ['keeper'] (connection.py:410, _read_response) 2026-09-21 00:53:54.908000 [ 594 ] DEBUG : Sending request(xid=2): Close() (connection.py:312, _submit) 2026-09-21 00:53:54.913000 [ 594 ] WARNING : Connection dropped: socket connection broken (connection.py:622, _connect_attempt) 2026-09-21 00:53:54.913000 [ 594 ] WARNING : Transition to CONNECTING (connection.py:626, _connect_attempt) 2026-09-21 00:53:54.913000 [ 594 ] INFO : Zookeeper connection lost (client.py:543, _session_callback) 2026-09-21 00:53:54.978000 [ 594 ] WARNING : Failed connecting to Zookeeper within the connection retry policy. (connection.py:515, zk_loop) 2026-09-21 00:53:54.978000 [ 594 ] INFO : Zookeeper session closed, state: CLOSED (client.py:537, _session_callback) 2026-09-21 00:53:54.979000 [ 594 ] DEBUG : All instances of ZooKeeper started: ('zoo1', 'zoo2', 'zoo3') (cluster.py:2452, wait_zookeeper_nodes_to_start) 2026-09-21 00:53:54.979000 [ 594 ] DEBUG : ('Trying to create ClickHouse instance by command %s', 'docker compose --env-file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/.env --project-name roottestattachpartitionusingcopy-gw1 --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica1/docker-compose.yml --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica2/docker-compose.yml up -d --no-recreate') (cluster.py:3139, start) 2026-09-21 00:53:54.979000 [ 594 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/.env --project-name roottestattachpartitionusingcopy-gw1 --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica1/docker-compose.yml --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica2/docker-compose.yml up -d --no-recreate] (cluster.py:121, run_and_check) 2026-09-21 00:53:55.626000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo2-1 Running (cluster.py:147, run_and_check) 2026-09-21 00:53:55.626000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo1-1 Running (cluster.py:147, run_and_check) 2026-09-21 00:53:55.626000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo3-1 Running (cluster.py:147, run_and_check) 2026-09-21 00:53:55.626000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica1-1 Creating (cluster.py:147, run_and_check) 2026-09-21 00:53:55.626000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica2-1 Creating (cluster.py:147, run_and_check) 2026-09-21 00:53:55.627000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica1-1 Created (cluster.py:147, run_and_check) 2026-09-21 00:53:55.627000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica2-1 Created (cluster.py:147, run_and_check) 2026-09-21 00:53:55.627000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica1-1 Starting (cluster.py:147, run_and_check) 2026-09-21 00:53:55.627000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica2-1 Starting (cluster.py:147, run_and_check) 2026-09-21 00:53:55.627000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica2-1 Started (cluster.py:147, run_and_check) 2026-09-21 00:53:55.627000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica1-1 Started (cluster.py:147, run_and_check) 2026-09-21 00:53:55.627000 [ 594 ] DEBUG : ClickHouse instance created (cluster.py:3147, start) 2026-09-21 00:53:55.628000 [ 594 ] DEBUG : get_instance_ip instance_name=replica1 (cluster.py:2005, get_instance_ip) 2026-09-21 00:53:55.631000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw1-replica1-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:55.632000 [ 594 ] DEBUG : get_instance_ip instance_name=replica1 (cluster.py:2015, get_instance_global_ipv6) 2026-09-21 00:53:55.635000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw1-replica1-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:55.635000 [ 594 ] DEBUG : Waiting for ClickHouse start in replica1, ip: 172.16.3.5... (cluster.py:3155, start) 2026-09-21 00:53:55.638000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw1-replica1-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:55.640000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/81afede81a50177ba0ceee5959c46c3337c3932d53fe5cb4777ef9e5c32220f6/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:55.744000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/81afede81a50177ba0ceee5959c46c3337c3932d53fe5cb4777ef9e5c32220f6/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:55.846000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/81afede81a50177ba0ceee5959c46c3337c3932d53fe5cb4777ef9e5c32220f6/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:55.948000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/81afede81a50177ba0ceee5959c46c3337c3932d53fe5cb4777ef9e5c32220f6/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:56.051000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/81afede81a50177ba0ceee5959c46c3337c3932d53fe5cb4777ef9e5c32220f6/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:56.154000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/81afede81a50177ba0ceee5959c46c3337c3932d53fe5cb4777ef9e5c32220f6/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:56.257000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/81afede81a50177ba0ceee5959c46c3337c3932d53fe5cb4777ef9e5c32220f6/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:56.361000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/81afede81a50177ba0ceee5959c46c3337c3932d53fe5cb4777ef9e5c32220f6/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:56.464000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/81afede81a50177ba0ceee5959c46c3337c3932d53fe5cb4777ef9e5c32220f6/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:56.566000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/81afede81a50177ba0ceee5959c46c3337c3932d53fe5cb4777ef9e5c32220f6/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:56.669000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/81afede81a50177ba0ceee5959c46c3337c3932d53fe5cb4777ef9e5c32220f6/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:56.772000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/81afede81a50177ba0ceee5959c46c3337c3932d53fe5cb4777ef9e5c32220f6/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:56.876000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/81afede81a50177ba0ceee5959c46c3337c3932d53fe5cb4777ef9e5c32220f6/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:56.979000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/81afede81a50177ba0ceee5959c46c3337c3932d53fe5cb4777ef9e5c32220f6/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:56.980000 [ 594 ] DEBUG : ClickHouse replica1 started (cluster.py:3159, start) 2026-09-21 00:53:56.981000 [ 594 ] DEBUG : get_instance_ip instance_name=replica2 (cluster.py:2005, get_instance_ip) 2026-09-21 00:53:56.984000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw1-replica2-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:56.984000 [ 594 ] DEBUG : get_instance_ip instance_name=replica2 (cluster.py:2015, get_instance_global_ipv6) 2026-09-21 00:53:56.986000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw1-replica2-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:56.986000 [ 594 ] DEBUG : Waiting for ClickHouse start in replica2, ip: 172.16.3.6... (cluster.py:3155, start) 2026-09-21 00:53:56.988000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw1-replica2-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:56.990000 [ 594 ] DEBUG : http://localhost:None "GET /v1.46/containers/1790a62ef1cc7601f981a2ee6020698c192a38b61bc177deceb18490de665e5a/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-09-21 00:53:56.991000 [ 594 ] DEBUG : ClickHouse replica2 started (cluster.py:3159, start) ------------------------------ Captured log call ------------------------------- 2026-09-21 00:53:56.993000 [ 594 ] DEBUG : Executing query DROP TABLE IF EXISTS source SYNC on replica1 (cluster.py:3648, query) 2026-09-21 00:53:57.208000 [ 594 ] DEBUG : Executing query DROP TABLE IF EXISTS destination SYNC on replica1 (cluster.py:3648, query) 2026-09-21 00:53:57.423000 [ 594 ] DEBUG : Executing query DROP TABLE IF EXISTS source SYNC on replica2 (cluster.py:3648, query) 2026-09-21 00:53:57.639000 [ 594 ] DEBUG : Executing query DROP TABLE IF EXISTS destination SYNC on replica2 (cluster.py:3648, query) 2026-09-21 00:53:57.854000 [ 594 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = ReplicatedMergeTree('/clickhouse/tables/1/source', 'replica1') ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3648, query) 2026-09-21 00:54:51.835000 [ 594 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = ReplicatedMergeTree('/clickhouse/tables/1/source', 'replica1') ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3648, query) 2026-09-21 00:55:46.418000 [ 594 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = ReplicatedMergeTree('/clickhouse/tables/1/source', 'replica1') ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3648, query) ___________________ test_cow_policy[cow_policy_multi_volume] ___________________ [gw0] linux -- Python 3.10.12 /usr/bin/python3 start_cluster = storage_policy = 'cow_policy_multi_volume' @pytest.mark.parametrize("storage_policy", ["cow_policy_multi_disk", "cow_policy_multi_volume"]) def test_cow_policy(start_cluster, storage_policy): try: > node.query_with_retry( f""" ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = '{storage_policy}' """, timeout=60, retry_count=3, ) test_cow_policy/test.py:24: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = sql = "\n ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7'\n (\n ...BY (postcode1, postcode2, addr1, addr2)\n SETTINGS storage_policy = 'cow_policy_multi_volume'\n " stdin = None, timeout = 60, settings = None, user = None, password = None database = None, host = None, ignore_error = False, retry_count = 3 sleep_time = 0.5 check_callback = at 0x7f90e2afc040> parse = False def query_with_retry( self, sql, stdin=None, timeout=None, settings=None, user=None, password=None, database=None, host=None, ignore_error=False, retry_count=20, sleep_time=0.5, check_callback=lambda x: True, parse=False, ): # logging.debug(f"Executing query {sql} on {self.name}") result = None exception_msg = "" for i in range(retry_count): try: result = self.query( sql, stdin=stdin, timeout=timeout, settings=settings, user=user, password=password, database=database, host=host, ignore_error=ignore_error, parse=parse, ) if check_callback(result): return result time.sleep(sleep_time) except QueryRuntimeException as ex: exception_msg = f"{type(ex).__name__}: {str(ex)}" # Container is down, this is likely due to server crash. if "No route to host" in str(ex): raise time.sleep(sleep_time) except Exception as ex: # logging.debug("Retry {} got exception {}".format(i + 1, ex)) exception_msg = f"{type(ex).__name__}: {str(ex)}" time.sleep(sleep_time) if result is not None: return result > raise Exception(f"Can't execute query {sql}\n{exception_msg}") E Exception: Can't execute query E ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS storage_policy = 'cow_policy_multi_volume' E E QueryRuntimeException: Client failed! Return code: 198, stderr: Received exception from server (version 25.3.14): E Code: 198. DB::Exception: Received from 172.16.2.2:9000. DB::NetException. DB::NetException: Not found address of host: raw.githubusercontent.com: while loading disk metadata. Stack trace: E E 0. ./contrib/llvm-project/libcxx/include/__exception/exception.h:113: Poco::Exception::Exception(String const&, int) @ 0x000000003867ecd1 E 1. ./build_docker/./src/Common/Exception.cpp:108: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000001c089a11 E 2. ./src/Common/Exception.h:112: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x000000001c013fef E 3. ./build_docker/./src/Common/DNSResolver.cpp:113: DB::(anonymous namespace)::hostByName(String const&) @ 0x000000001c00d19e E 4. ./build_docker/./src/Common/DNSResolver.cpp:138: DB::DNSResolver::getResolvedIPAdressessWithFiltering(String const&) @ 0x000000001c00a128 E 5. ./build_docker/./src/Common/DNSResolver.cpp:256: DB::DNSResolver::resolveIPAddressWithCache(String const&) @ 0x000000001c00ab60 E 6. ./build_docker/./src/Common/DNSResolver.cpp:276: DB::DNSResolver::resolveHostAllInOriginOrder(String const&) @ 0x000000001c00b8a7 E 7. ./build_docker/./src/Common/HostResolvePool.cpp:54: std::vector> std::__function::__policy_invoker> (String const&)>::__call_impl[abi:ne190107]> (String const&)>>(std::__function::__policy_storage const*, String const&) @ 0x000000001c829520 E 8. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c825ca1 E 9. ./build_docker/./src/Common/HostResolvePool.cpp:66: DB::HostResolver::HostResolver(std::function> (String const&)>&&, String, Poco::Timespan) @ 0x000000001c82576d E 10. ./build_docker/./src/Common/HostResolvePool.cpp:53: DB::HostResolver::HostResolver(String, Poco::Timespan) @ 0x000000001c825134 E 11. ./src/Common/HostResolvePool.h:62: std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler::make_shared_enabler(String const&) @ 0x000000001c82e990 E 12. ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:41: std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler> std::allocate_shared[abi:ne190107] DB::HostResolver::create(String const&)::make_shared_enabler, std::allocator DB::HostResolver::create(String const&)::make_shared_enabler>, String const&, 0>(std::allocator DB::HostResolver::create(String const&)::make_shared_enabler> const&, String const&) @ 0x000000001c82e50d E 13. ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:851: DB::HostResolversPool::getResolver(String const&) @ 0x000000001c82930b E 14. ./build_docker/./src/Common/HTTPConnectionPool.cpp:671: DB::EndpointConnectionPool::prepareNewConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000001c810a68 E 15. ./build_docker/./src/Common/HTTPConnectionPool.cpp:590: DB::EndpointConnectionPool::getConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000001c80edf0 E 16. ./build_docker/./src/IO/HTTPCommon.cpp:63: DB::makeHTTPSession(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ConnectionTimeouts const&, DB::ProxyConfiguration const&, unsigned long*) @ 0x000000001c8392b4 E 17. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:267: DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x0000000021540c92 E 18. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:285: DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x000000002154131c E 19. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:408: DB::ReadWriteBufferFromHTTP::initialize() @ 0x000000002154239b E 20. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:472: void std::__function::__policy_invoker::__call_impl[abi:ne190107]>(std::__function::__policy_storage const*) @ 0x0000000021547cb8 E 21. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000002153cd11 E 22. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:465: DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x00000000215449c3 E 23. DB::ReadBuffer::next() @ 0x000000000c902256 E 24. ./src/IO/ReadBuffer.h:105: DB::WebObjectStorage::loadFiles(String const&, std::unique_lock const&) const @ 0x000000002899c2e2 E 25. ./build_docker/./src/Disks/ObjectStorages/Web/WebObjectStorage.cpp:225: DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x00000000289a0c3f E 26. ./build_docker/./src/Disks/ObjectStorages/Web/WebObjectStorage.cpp:185: DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x00000000289a0570 E 27. ./build_docker/./src/Disks/ObjectStorages/Web/MetadataStorageFromStaticFilesWebServer.cpp:106: DB::MetadataStorageFromStaticFilesWebServer::getStorageObjectsIfExist(String const&) const @ 0x00000000289986a6 E 28. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:785: DB::DiskObjectStorage::readFileIfExists(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000288a4bfe E 29. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:380: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000002f25f170 E 30. ./build_docker/./src/Storages/StorageMergeTree.cpp:159: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000002fa16dd6 E 31. ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:41: std::shared_ptr std::allocate_shared[abi:ne190107], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, 0>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000002fa16436 E . (DNS_ERROR) E (query: ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS storage_policy = 'cow_policy_multi_volume' E ) helpers/cluster.py:3712: Exception ------------------------------ Captured log call ------------------------------- 2026-09-21 00:56:36.246000 [ 591 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_volume' on node (cluster.py:3648, query) 2026-09-21 00:57:33.334000 [ 591 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_volume' on node (cluster.py:3648, query) 2026-09-21 00:58:31.075000 [ 591 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_volume' on node (cluster.py:3648, query) 2026-09-21 00:59:25.762000 [ 591 ] DEBUG : Executing query DROP TABLE IF EXISTS uk_price_paid SYNC on node (cluster.py:3648, query) ---------------------------- Captured log teardown ----------------------------- 2026-09-21 00:59:26.100000 [ 591 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw0/.env --project-name roottestcowpolicy-gw0 --file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw0/node/docker-compose.yml stop --timeout 20] (cluster.py:121, run_and_check) 2026-09-21 00:59:32.130000 [ 591 ] DEBUG : Stderr: Container roottestcowpolicy-gw0-node-1 Stopping (cluster.py:147, run_and_check) 2026-09-21 00:59:32.130000 [ 591 ] DEBUG : Stderr: Container roottestcowpolicy-gw0-node-1 Stopped (cluster.py:147, run_and_check) 2026-09-21 00:59:32.130000 [ 591 ] DEBUG : Command:[bash -c [ -f /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw0/node/logs/stderr.log ] && zgrep -aH "==================" /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw0/node/logs/stderr.log* | ( [ -z "" ] && cat || grep -v "$" ) || true] (cluster.py:121, run_and_check) 2026-09-21 00:59:32.145000 [ 591 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw0/.env --project-name roottestcowpolicy-gw0 --file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw0/node/docker-compose.yml down --volumes] (cluster.py:121, run_and_check) 2026-09-21 00:59:32.774000 [ 591 ] DEBUG : Stderr: Container roottestcowpolicy-gw0-node-1 Stopping (cluster.py:147, run_and_check) 2026-09-21 00:59:32.774000 [ 591 ] DEBUG : Stderr: Container roottestcowpolicy-gw0-node-1 Stopped (cluster.py:147, run_and_check) 2026-09-21 00:59:32.774000 [ 591 ] DEBUG : Stderr: Container roottestcowpolicy-gw0-node-1 Removing (cluster.py:147, run_and_check) 2026-09-21 00:59:32.775000 [ 591 ] DEBUG : Stderr: Container roottestcowpolicy-gw0-node-1 Removed (cluster.py:147, run_and_check) 2026-09-21 00:59:32.775000 [ 591 ] DEBUG : Stderr: Network roottestcowpolicy-gw0_default Removing (cluster.py:147, run_and_check) 2026-09-21 00:59:32.775000 [ 591 ] DEBUG : Stderr: Network roottestcowpolicy-gw0_default Removed (cluster.py:147, run_and_check) 2026-09-21 00:59:32.775000 [ 591 ] DEBUG : Cleanup called (cluster.py:851, cleanup) 2026-09-21 00:59:32.807000 [ 591 ] DEBUG : Docker networks for project roottestcowpolicy-gw0 are NETWORK ID NAME DRIVER SCOPE (cluster.py:830, print_all_docker_pieces) 2026-09-21 00:59:32.827000 [ 591 ] DEBUG : Docker containers for project roottestcowpolicy-gw0 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:838, print_all_docker_pieces) 2026-09-21 00:59:32.862000 [ 591 ] DEBUG : Docker volumes for project roottestcowpolicy-gw0 are DRIVER VOLUME NAME (cluster.py:846, print_all_docker_pieces) 2026-09-21 00:59:32.862000 [ 591 ] DEBUG : Command:[docker container list --all --filter name='^/roottestcowpolicy-gw0-.*-1$' --format '{{.ID}}:{{.Names}}'] (cluster.py:121, run_and_check) 2026-09-21 00:59:32.895000 [ 591 ] DEBUG : Unstopped containers: {} (cluster.py:865, cleanup) 2026-09-21 00:59:32.895000 [ 591 ] DEBUG : No running containers for project: roottestcowpolicy-gw0 (cluster.py:879, cleanup) 2026-09-21 00:59:32.895000 [ 591 ] DEBUG : Trying to prune unused networks... (cluster.py:885, cleanup) 2026-09-21 00:59:32.927000 [ 591 ] DEBUG : Trying to prune unused images... (cluster.py:901, cleanup) 2026-09-21 00:59:32.927000 [ 591 ] DEBUG : Command:[docker image prune -f] (cluster.py:121, run_and_check) 2026-09-21 00:59:32.960000 [ 591 ] DEBUG : Stdout:Total reclaimed space: 0B (cluster.py:145, run_and_check) 2026-09-21 00:59:32.960000 [ 591 ] DEBUG : Images pruned (cluster.py:904, cleanup) 2026-09-21 00:59:32.960000 [ 591 ] DEBUG : Trying to prune unused volumes... (cluster.py:910, cleanup) 2026-09-21 00:59:32.960000 [ 591 ] DEBUG : Command:[docker volume ls | wc -l] (cluster.py:121, run_and_check) 2026-09-21 00:59:32.984000 [ 591 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2026-09-21 00:59:32.984000 [ 591 ] DEBUG : Volumes pruned: 1 (cluster.py:915, cleanup) _____________________________ test_both_mergetree ______________________________ [gw1] linux -- Python 3.10.12 /usr/bin/python3 start_cluster = def test_both_mergetree(start_cluster): cleanup([replica1, replica2]) > create_source_table(replica1, "source", False) test_attach_partition_using_copy/test.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_attach_partition_using_copy/test.py:40: in create_source_table node.query_with_retry( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = sql = "\n ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7'\n (\n price UInt32,\n ...disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/')\n " stdin = None, timeout = 60, settings = None, user = None, password = None database = None, host = None, ignore_error = False, retry_count = 3 sleep_time = 0.5 check_callback = at 0x7f0c1e564040> parse = False def query_with_retry( self, sql, stdin=None, timeout=None, settings=None, user=None, password=None, database=None, host=None, ignore_error=False, retry_count=20, sleep_time=0.5, check_callback=lambda x: True, parse=False, ): # logging.debug(f"Executing query {sql} on {self.name}") result = None exception_msg = "" for i in range(retry_count): try: result = self.query( sql, stdin=stdin, timeout=timeout, settings=settings, user=user, password=password, database=database, host=host, ignore_error=ignore_error, parse=parse, ) if check_callback(result): return result time.sleep(sleep_time) except QueryRuntimeException as ex: exception_msg = f"{type(ex).__name__}: {str(ex)}" # Container is down, this is likely due to server crash. if "No route to host" in str(ex): raise time.sleep(sleep_time) except Exception as ex: # logging.debug("Retry {} got exception {}".format(i + 1, ex)) exception_msg = f"{type(ex).__name__}: {str(ex)}" time.sleep(sleep_time) if result is not None: return result > raise Exception(f"Can't execute query {sql}\n{exception_msg}") E Exception: Can't execute query E ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree() E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') E E QueryRuntimeException: Client failed! Return code: 198, stderr: Received exception from server (version 25.3.14): E Code: 198. DB::Exception: Received from 172.16.3.5:9000. DB::NetException. DB::NetException: Not found address of host: raw.githubusercontent.com: while loading disk metadata. Stack trace: E E 0. ./contrib/llvm-project/libcxx/include/__exception/exception.h:113: Poco::Exception::Exception(String const&, int) @ 0x000000003867ecd1 E 1. ./build_docker/./src/Common/Exception.cpp:108: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000001c089a11 E 2. ./src/Common/Exception.h:112: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x000000001c013fef E 3. ./build_docker/./src/Common/DNSResolver.cpp:113: DB::(anonymous namespace)::hostByName(String const&) @ 0x000000001c00d19e E 4. ./build_docker/./src/Common/DNSResolver.cpp:138: DB::DNSResolver::getResolvedIPAdressessWithFiltering(String const&) @ 0x000000001c00a128 E 5. ./build_docker/./src/Common/DNSResolver.cpp:256: DB::DNSResolver::resolveIPAddressWithCache(String const&) @ 0x000000001c00ab60 E 6. ./build_docker/./src/Common/DNSResolver.cpp:276: DB::DNSResolver::resolveHostAllInOriginOrder(String const&) @ 0x000000001c00b8a7 E 7. ./build_docker/./src/Common/HostResolvePool.cpp:54: std::vector> std::__function::__policy_invoker> (String const&)>::__call_impl[abi:ne190107]> (String const&)>>(std::__function::__policy_storage const*, String const&) @ 0x000000001c829520 E 8. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c825ca1 E 9. ./build_docker/./src/Common/HostResolvePool.cpp:66: DB::HostResolver::HostResolver(std::function> (String const&)>&&, String, Poco::Timespan) @ 0x000000001c82576d E 10. ./build_docker/./src/Common/HostResolvePool.cpp:53: DB::HostResolver::HostResolver(String, Poco::Timespan) @ 0x000000001c825134 E 11. ./src/Common/HostResolvePool.h:62: std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler::make_shared_enabler(String const&) @ 0x000000001c82e990 E 12. ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:41: std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler> std::allocate_shared[abi:ne190107] DB::HostResolver::create(String const&)::make_shared_enabler, std::allocator DB::HostResolver::create(String const&)::make_shared_enabler>, String const&, 0>(std::allocator DB::HostResolver::create(String const&)::make_shared_enabler> const&, String const&) @ 0x000000001c82e50d E 13. ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:851: DB::HostResolversPool::getResolver(String const&) @ 0x000000001c82930b E 14. ./build_docker/./src/Common/HTTPConnectionPool.cpp:671: DB::EndpointConnectionPool::prepareNewConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000001c810a68 E 15. ./build_docker/./src/Common/HTTPConnectionPool.cpp:590: DB::EndpointConnectionPool::getConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000001c80edf0 E 16. ./build_docker/./src/IO/HTTPCommon.cpp:63: DB::makeHTTPSession(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ConnectionTimeouts const&, DB::ProxyConfiguration const&, unsigned long*) @ 0x000000001c8392b4 E 17. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:267: DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x0000000021540c92 E 18. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:285: DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x000000002154131c E 19. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:408: DB::ReadWriteBufferFromHTTP::initialize() @ 0x000000002154239b E 20. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:472: void std::__function::__policy_invoker::__call_impl[abi:ne190107]>(std::__function::__policy_storage const*) @ 0x0000000021547cb8 E 21. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000002153cd11 E 22. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:465: DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x00000000215449c3 E 23. DB::ReadBuffer::next() @ 0x000000000c902256 E 24. ./src/IO/ReadBuffer.h:105: DB::WebObjectStorage::loadFiles(String const&, std::unique_lock const&) const @ 0x000000002899c2e2 E 25. ./build_docker/./src/Disks/ObjectStorages/Web/WebObjectStorage.cpp:225: DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x00000000289a0c3f E 26. ./build_docker/./src/Disks/ObjectStorages/Web/WebObjectStorage.cpp:185: DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x00000000289a0570 E 27. ./build_docker/./src/Disks/ObjectStorages/Web/MetadataStorageFromStaticFilesWebServer.cpp:106: DB::MetadataStorageFromStaticFilesWebServer::getStorageObjectsIfExist(String const&) const @ 0x00000000289986a6 E 28. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:785: DB::DiskObjectStorage::readFileIfExists(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000288a4bfe E 29. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:380: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000002f25f170 E 30. ./build_docker/./src/Storages/StorageMergeTree.cpp:159: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000002fa16dd6 E 31. ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:41: std::shared_ptr std::allocate_shared[abi:ne190107], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, 0>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000002fa16436 E . (DNS_ERROR) E (query: ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree() E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') E ) helpers/cluster.py:3712: Exception ------------------------------ Captured log call ------------------------------- 2026-09-21 00:56:41.816000 [ 594 ] DEBUG : Executing query DROP TABLE IF EXISTS source SYNC on replica1 (cluster.py:3648, query) 2026-09-21 00:56:42.032000 [ 594 ] DEBUG : Executing query DROP TABLE IF EXISTS destination SYNC on replica1 (cluster.py:3648, query) 2026-09-21 00:56:42.248000 [ 594 ] DEBUG : Executing query DROP TABLE IF EXISTS source SYNC on replica2 (cluster.py:3648, query) 2026-09-21 00:56:42.464000 [ 594 ] DEBUG : Executing query DROP TABLE IF EXISTS destination SYNC on replica2 (cluster.py:3648, query) 2026-09-21 00:56:42.680000 [ 594 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3648, query) 2026-09-21 00:57:38.611000 [ 594 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3648, query) 2026-09-21 00:58:36.406000 [ 594 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3648, query) _______________________ test_not_work_on_different_disk ________________________ [gw1] linux -- Python 3.10.12 /usr/bin/python3 start_cluster = def test_not_work_on_different_disk(start_cluster): cleanup([replica1, replica2]) # Replace and move should not work on replace > create_source_table(replica1, "source", False) test_attach_partition_using_copy/test.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_attach_partition_using_copy/test.py:40: in create_source_table node.query_with_retry( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = sql = "\n ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7'\n (\n price UInt32,\n ...disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/')\n " stdin = None, timeout = 60, settings = None, user = None, password = None database = None, host = None, ignore_error = False, retry_count = 3 sleep_time = 0.5 check_callback = at 0x7f0c1e564040> parse = False def query_with_retry( self, sql, stdin=None, timeout=None, settings=None, user=None, password=None, database=None, host=None, ignore_error=False, retry_count=20, sleep_time=0.5, check_callback=lambda x: True, parse=False, ): # logging.debug(f"Executing query {sql} on {self.name}") result = None exception_msg = "" for i in range(retry_count): try: result = self.query( sql, stdin=stdin, timeout=timeout, settings=settings, user=user, password=password, database=database, host=host, ignore_error=ignore_error, parse=parse, ) if check_callback(result): return result time.sleep(sleep_time) except QueryRuntimeException as ex: exception_msg = f"{type(ex).__name__}: {str(ex)}" # Container is down, this is likely due to server crash. if "No route to host" in str(ex): raise time.sleep(sleep_time) except Exception as ex: # logging.debug("Retry {} got exception {}".format(i + 1, ex)) exception_msg = f"{type(ex).__name__}: {str(ex)}" time.sleep(sleep_time) if result is not None: return result > raise Exception(f"Can't execute query {sql}\n{exception_msg}") E Exception: Can't execute query E ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree() E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') E E QueryRuntimeException: Client failed! Return code: 198, stderr: Received exception from server (version 25.3.14): E Code: 198. DB::Exception: Received from 172.16.3.5:9000. DB::NetException. DB::NetException: Not found address of host: raw.githubusercontent.com: while loading disk metadata. Stack trace: E E 0. ./contrib/llvm-project/libcxx/include/__exception/exception.h:113: Poco::Exception::Exception(String const&, int) @ 0x000000003867ecd1 E 1. ./build_docker/./src/Common/Exception.cpp:108: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000001c089a11 E 2. ./src/Common/Exception.h:112: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x000000001c013fef E 3. ./build_docker/./src/Common/DNSResolver.cpp:113: DB::(anonymous namespace)::hostByName(String const&) @ 0x000000001c00d19e E 4. ./build_docker/./src/Common/DNSResolver.cpp:138: DB::DNSResolver::getResolvedIPAdressessWithFiltering(String const&) @ 0x000000001c00a128 E 5. ./build_docker/./src/Common/DNSResolver.cpp:256: DB::DNSResolver::resolveIPAddressWithCache(String const&) @ 0x000000001c00ab60 E 6. ./build_docker/./src/Common/DNSResolver.cpp:276: DB::DNSResolver::resolveHostAllInOriginOrder(String const&) @ 0x000000001c00b8a7 E 7. ./build_docker/./src/Common/HostResolvePool.cpp:54: std::vector> std::__function::__policy_invoker> (String const&)>::__call_impl[abi:ne190107]> (String const&)>>(std::__function::__policy_storage const*, String const&) @ 0x000000001c829520 E 8. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c825ca1 E 9. ./build_docker/./src/Common/HostResolvePool.cpp:66: DB::HostResolver::HostResolver(std::function> (String const&)>&&, String, Poco::Timespan) @ 0x000000001c82576d E 10. ./build_docker/./src/Common/HostResolvePool.cpp:53: DB::HostResolver::HostResolver(String, Poco::Timespan) @ 0x000000001c825134 E 11. ./src/Common/HostResolvePool.h:62: std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler::make_shared_enabler(String const&) @ 0x000000001c82e990 E 12. ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:41: std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler> std::allocate_shared[abi:ne190107] DB::HostResolver::create(String const&)::make_shared_enabler, std::allocator DB::HostResolver::create(String const&)::make_shared_enabler>, String const&, 0>(std::allocator DB::HostResolver::create(String const&)::make_shared_enabler> const&, String const&) @ 0x000000001c82e50d E 13. ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:851: DB::HostResolversPool::getResolver(String const&) @ 0x000000001c82930b E 14. ./build_docker/./src/Common/HTTPConnectionPool.cpp:671: DB::EndpointConnectionPool::prepareNewConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000001c810a68 E 15. ./build_docker/./src/Common/HTTPConnectionPool.cpp:590: DB::EndpointConnectionPool::getConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000001c80edf0 E 16. ./build_docker/./src/IO/HTTPCommon.cpp:63: DB::makeHTTPSession(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ConnectionTimeouts const&, DB::ProxyConfiguration const&, unsigned long*) @ 0x000000001c8392b4 E 17. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:267: DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x0000000021540c92 E 18. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:285: DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x000000002154131c E 19. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:408: DB::ReadWriteBufferFromHTTP::initialize() @ 0x000000002154239b E 20. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:472: void std::__function::__policy_invoker::__call_impl[abi:ne190107]>(std::__function::__policy_storage const*) @ 0x0000000021547cb8 E 21. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000002153cd11 E 22. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:465: DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x00000000215449c3 E 23. DB::ReadBuffer::next() @ 0x000000000c902256 E 24. ./src/IO/ReadBuffer.h:105: DB::WebObjectStorage::loadFiles(String const&, std::unique_lock const&) const @ 0x000000002899c2e2 E 25. ./build_docker/./src/Disks/ObjectStorages/Web/WebObjectStorage.cpp:225: DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x00000000289a0c3f E 26. ./build_docker/./src/Disks/ObjectStorages/Web/WebObjectStorage.cpp:185: DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x00000000289a0570 E 27. ./build_docker/./src/Disks/ObjectStorages/Web/MetadataStorageFromStaticFilesWebServer.cpp:106: DB::MetadataStorageFromStaticFilesWebServer::getStorageObjectsIfExist(String const&) const @ 0x00000000289986a6 E 28. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:785: DB::DiskObjectStorage::readFileIfExists(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000288a4bfe E 29. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:380: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000002f25f170 E 30. ./build_docker/./src/Storages/StorageMergeTree.cpp:159: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000002fa16dd6 E 31. ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:41: std::shared_ptr std::allocate_shared[abi:ne190107], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, 0>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000002fa16436 E . (DNS_ERROR) E (query: ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree() E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') E ) helpers/cluster.py:3712: Exception ------------------------------ Captured log call ------------------------------- 2026-09-21 00:59:31.108000 [ 594 ] DEBUG : Executing query DROP TABLE IF EXISTS source SYNC on replica1 (cluster.py:3648, query) 2026-09-21 00:59:31.374000 [ 594 ] DEBUG : Executing query DROP TABLE IF EXISTS destination SYNC on replica1 (cluster.py:3648, query) 2026-09-21 00:59:31.640000 [ 594 ] DEBUG : Executing query DROP TABLE IF EXISTS source SYNC on replica2 (cluster.py:3648, query) 2026-09-21 00:59:31.856000 [ 594 ] DEBUG : Executing query DROP TABLE IF EXISTS destination SYNC on replica2 (cluster.py:3648, query) 2026-09-21 00:59:32.073000 [ 594 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3648, query) 2026-09-21 01:00:26.758000 [ 594 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3648, query) 2026-09-21 01:01:23.855000 [ 594 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3648, query) _______________________ test_only_destination_replicated _______________________ [gw1] linux -- Python 3.10.12 /usr/bin/python3 start_cluster = def test_only_destination_replicated(start_cluster): cleanup([replica1, replica2]) > create_source_table(replica1, "source", False) test_attach_partition_using_copy/test.py:163: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_attach_partition_using_copy/test.py:40: in create_source_table node.query_with_retry( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = sql = "\n ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7'\n (\n price UInt32,\n ...disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/')\n " stdin = None, timeout = 60, settings = None, user = None, password = None database = None, host = None, ignore_error = False, retry_count = 3 sleep_time = 0.5 check_callback = at 0x7f0c1e564040> parse = False def query_with_retry( self, sql, stdin=None, timeout=None, settings=None, user=None, password=None, database=None, host=None, ignore_error=False, retry_count=20, sleep_time=0.5, check_callback=lambda x: True, parse=False, ): # logging.debug(f"Executing query {sql} on {self.name}") result = None exception_msg = "" for i in range(retry_count): try: result = self.query( sql, stdin=stdin, timeout=timeout, settings=settings, user=user, password=password, database=database, host=host, ignore_error=ignore_error, parse=parse, ) if check_callback(result): return result time.sleep(sleep_time) except QueryRuntimeException as ex: exception_msg = f"{type(ex).__name__}: {str(ex)}" # Container is down, this is likely due to server crash. if "No route to host" in str(ex): raise time.sleep(sleep_time) except Exception as ex: # logging.debug("Retry {} got exception {}".format(i + 1, ex)) exception_msg = f"{type(ex).__name__}: {str(ex)}" time.sleep(sleep_time) if result is not None: return result > raise Exception(f"Can't execute query {sql}\n{exception_msg}") E Exception: Can't execute query E ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree() E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') E E QueryRuntimeException: Client failed! Return code: 198, stderr: Received exception from server (version 25.3.14): E Code: 198. DB::Exception: Received from 172.16.3.5:9000. DB::NetException. DB::NetException: Not found address of host: raw.githubusercontent.com: while loading disk metadata. Stack trace: E E 0. ./contrib/llvm-project/libcxx/include/__exception/exception.h:113: Poco::Exception::Exception(String const&, int) @ 0x000000003867ecd1 E 1. ./build_docker/./src/Common/Exception.cpp:108: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000001c089a11 E 2. ./src/Common/Exception.h:112: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x000000001c013fef E 3. ./build_docker/./src/Common/DNSResolver.cpp:113: DB::(anonymous namespace)::hostByName(String const&) @ 0x000000001c00d19e E 4. ./build_docker/./src/Common/DNSResolver.cpp:138: DB::DNSResolver::getResolvedIPAdressessWithFiltering(String const&) @ 0x000000001c00a128 E 5. ./build_docker/./src/Common/DNSResolver.cpp:256: DB::DNSResolver::resolveIPAddressWithCache(String const&) @ 0x000000001c00ab60 E 6. ./build_docker/./src/Common/DNSResolver.cpp:276: DB::DNSResolver::resolveHostAllInOriginOrder(String const&) @ 0x000000001c00b8a7 E 7. ./build_docker/./src/Common/HostResolvePool.cpp:54: std::vector> std::__function::__policy_invoker> (String const&)>::__call_impl[abi:ne190107]> (String const&)>>(std::__function::__policy_storage const*, String const&) @ 0x000000001c829520 E 8. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c825ca1 E 9. ./build_docker/./src/Common/HostResolvePool.cpp:66: DB::HostResolver::HostResolver(std::function> (String const&)>&&, String, Poco::Timespan) @ 0x000000001c82576d E 10. ./build_docker/./src/Common/HostResolvePool.cpp:53: DB::HostResolver::HostResolver(String, Poco::Timespan) @ 0x000000001c825134 E 11. ./src/Common/HostResolvePool.h:62: std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler::make_shared_enabler(String const&) @ 0x000000001c82e990 E 12. ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:41: std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler> std::allocate_shared[abi:ne190107] DB::HostResolver::create(String const&)::make_shared_enabler, std::allocator DB::HostResolver::create(String const&)::make_shared_enabler>, String const&, 0>(std::allocator DB::HostResolver::create(String const&)::make_shared_enabler> const&, String const&) @ 0x000000001c82e50d E 13. ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:851: DB::HostResolversPool::getResolver(String const&) @ 0x000000001c82930b E 14. ./build_docker/./src/Common/HTTPConnectionPool.cpp:671: DB::EndpointConnectionPool::prepareNewConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000001c810a68 E 15. ./build_docker/./src/Common/HTTPConnectionPool.cpp:590: DB::EndpointConnectionPool::getConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000001c80edf0 E 16. ./build_docker/./src/IO/HTTPCommon.cpp:63: DB::makeHTTPSession(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ConnectionTimeouts const&, DB::ProxyConfiguration const&, unsigned long*) @ 0x000000001c8392b4 E 17. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:267: DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x0000000021540c92 E 18. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:285: DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x000000002154131c E 19. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:408: DB::ReadWriteBufferFromHTTP::initialize() @ 0x000000002154239b E 20. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:472: void std::__function::__policy_invoker::__call_impl[abi:ne190107]>(std::__function::__policy_storage const*) @ 0x0000000021547cb8 E 21. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000002153cd11 E 22. ./build_docker/./src/IO/ReadWriteBufferFromHTTP.cpp:465: DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x00000000215449c3 E 23. DB::ReadBuffer::next() @ 0x000000000c902256 E 24. ./src/IO/ReadBuffer.h:105: DB::WebObjectStorage::loadFiles(String const&, std::unique_lock const&) const @ 0x000000002899c2e2 E 25. ./build_docker/./src/Disks/ObjectStorages/Web/WebObjectStorage.cpp:225: DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x00000000289a0c3f E 26. ./build_docker/./src/Disks/ObjectStorages/Web/WebObjectStorage.cpp:185: DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x00000000289a0570 E 27. ./build_docker/./src/Disks/ObjectStorages/Web/MetadataStorageFromStaticFilesWebServer.cpp:106: DB::MetadataStorageFromStaticFilesWebServer::getStorageObjectsIfExist(String const&) const @ 0x00000000289986a6 E 28. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:785: DB::DiskObjectStorage::readFileIfExists(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000288a4bfe E 29. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:380: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000002f25f170 E 30. ./build_docker/./src/Storages/StorageMergeTree.cpp:159: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000002fa16dd6 E 31. ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:41: std::shared_ptr std::allocate_shared[abi:ne190107], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, 0>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000002fa16436 E . (DNS_ERROR) E (query: ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree() E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') E ) helpers/cluster.py:3712: Exception ------------------------------ Captured log call ------------------------------- 2026-09-21 01:02:21.734000 [ 594 ] DEBUG : Executing query DROP TABLE IF EXISTS source SYNC on replica1 (cluster.py:3648, query) 2026-09-21 01:02:21.999000 [ 594 ] DEBUG : Executing query DROP TABLE IF EXISTS destination SYNC on replica1 (cluster.py:3648, query) 2026-09-21 01:02:22.215000 [ 594 ] DEBUG : Executing query DROP TABLE IF EXISTS source SYNC on replica2 (cluster.py:3648, query) 2026-09-21 01:02:22.432000 [ 594 ] DEBUG : Executing query DROP TABLE IF EXISTS destination SYNC on replica2 (cluster.py:3648, query) 2026-09-21 01:02:22.648000 [ 594 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3648, query) 2026-09-21 01:03:16.535000 [ 594 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3648, query) 2026-09-21 01:04:11.772000 [ 594 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3648, query) ---------------------------- Captured log teardown ----------------------------- 2026-09-21 01:05:08.948000 [ 594 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/.env --project-name roottestattachpartitionusingcopy-gw1 --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica1/docker-compose.yml --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica2/docker-compose.yml stop --timeout 20] (cluster.py:121, run_and_check) 2026-09-21 01:05:16.213000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica1-1 Stopping (cluster.py:147, run_and_check) 2026-09-21 01:05:16.213000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica2-1 Stopping (cluster.py:147, run_and_check) 2026-09-21 01:05:16.213000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica2-1 Stopped (cluster.py:147, run_and_check) 2026-09-21 01:05:16.213000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica1-1 Stopped (cluster.py:147, run_and_check) 2026-09-21 01:05:16.214000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo2-1 Stopping (cluster.py:147, run_and_check) 2026-09-21 01:05:16.214000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo3-1 Stopping (cluster.py:147, run_and_check) 2026-09-21 01:05:16.214000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo1-1 Stopping (cluster.py:147, run_and_check) 2026-09-21 01:05:16.214000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo3-1 Stopped (cluster.py:147, run_and_check) 2026-09-21 01:05:16.214000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo1-1 Stopped (cluster.py:147, run_and_check) 2026-09-21 01:05:16.214000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo2-1 Stopped (cluster.py:147, run_and_check) 2026-09-21 01:05:16.214000 [ 594 ] DEBUG : Command:[bash -c [ -f /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica1/logs/stderr.log ] && zgrep -aH "==================" /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica1/logs/stderr.log* | ( [ -z "" ] && cat || grep -v "$" ) || true] (cluster.py:121, run_and_check) 2026-09-21 01:05:16.233000 [ 594 ] DEBUG : Command:[bash -c [ -f /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica2/logs/stderr.log ] && zgrep -aH "==================" /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica2/logs/stderr.log* | ( [ -z "" ] && cat || grep -v "$" ) || true] (cluster.py:121, run_and_check) 2026-09-21 01:05:16.252000 [ 594 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/.env --project-name roottestattachpartitionusingcopy-gw1 --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica1/docker-compose.yml --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw1/replica2/docker-compose.yml down --volumes] (cluster.py:121, run_and_check) 2026-09-21 01:05:16.802000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica2-1 Stopping (cluster.py:147, run_and_check) 2026-09-21 01:05:16.803000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica1-1 Stopping (cluster.py:147, run_and_check) 2026-09-21 01:05:16.803000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica1-1 Stopped (cluster.py:147, run_and_check) 2026-09-21 01:05:16.803000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica1-1 Removing (cluster.py:147, run_and_check) 2026-09-21 01:05:16.803000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica2-1 Stopped (cluster.py:147, run_and_check) 2026-09-21 01:05:16.803000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica2-1 Removing (cluster.py:147, run_and_check) 2026-09-21 01:05:16.803000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica1-1 Removed (cluster.py:147, run_and_check) 2026-09-21 01:05:16.803000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-replica2-1 Removed (cluster.py:147, run_and_check) 2026-09-21 01:05:16.803000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo3-1 Stopping (cluster.py:147, run_and_check) 2026-09-21 01:05:16.803000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo1-1 Stopping (cluster.py:147, run_and_check) 2026-09-21 01:05:16.804000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo2-1 Stopping (cluster.py:147, run_and_check) 2026-09-21 01:05:16.804000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo3-1 Stopped (cluster.py:147, run_and_check) 2026-09-21 01:05:16.804000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo3-1 Removing (cluster.py:147, run_and_check) 2026-09-21 01:05:16.804000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo1-1 Stopped (cluster.py:147, run_and_check) 2026-09-21 01:05:16.804000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo1-1 Removing (cluster.py:147, run_and_check) 2026-09-21 01:05:16.804000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo2-1 Stopped (cluster.py:147, run_and_check) 2026-09-21 01:05:16.804000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo2-1 Removing (cluster.py:147, run_and_check) 2026-09-21 01:05:16.804000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo3-1 Removed (cluster.py:147, run_and_check) 2026-09-21 01:05:16.804000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo1-1 Removed (cluster.py:147, run_and_check) 2026-09-21 01:05:16.804000 [ 594 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw1-zoo2-1 Removed (cluster.py:147, run_and_check) 2026-09-21 01:05:16.804000 [ 594 ] DEBUG : Stderr: Network roottestattachpartitionusingcopy-gw1_default Removing (cluster.py:147, run_and_check) 2026-09-21 01:05:16.805000 [ 594 ] DEBUG : Stderr: Network roottestattachpartitionusingcopy-gw1_default Removed (cluster.py:147, run_and_check) 2026-09-21 01:05:16.805000 [ 594 ] DEBUG : Cleanup called (cluster.py:851, cleanup) 2026-09-21 01:05:16.837000 [ 594 ] DEBUG : Docker networks for project roottestattachpartitionusingcopy-gw1 are NETWORK ID NAME DRIVER SCOPE (cluster.py:830, print_all_docker_pieces) 2026-09-21 01:05:16.868000 [ 594 ] DEBUG : Docker containers for project roottestattachpartitionusingcopy-gw1 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:838, print_all_docker_pieces) 2026-09-21 01:05:16.900000 [ 594 ] DEBUG : Docker volumes for project roottestattachpartitionusingcopy-gw1 are DRIVER VOLUME NAME (cluster.py:846, print_all_docker_pieces) 2026-09-21 01:05:16.900000 [ 594 ] DEBUG : Command:[docker container list --all --filter name='^/roottestattachpartitionusingcopy-gw1-.*-1$' --format '{{.ID}}:{{.Names}}'] (cluster.py:121, run_and_check) 2026-09-21 01:05:16.932000 [ 594 ] DEBUG : Unstopped containers: {} (cluster.py:865, cleanup) 2026-09-21 01:05:16.932000 [ 594 ] DEBUG : No running containers for project: roottestattachpartitionusingcopy-gw1 (cluster.py:879, cleanup) 2026-09-21 01:05:16.932000 [ 594 ] DEBUG : Trying to prune unused networks... (cluster.py:885, cleanup) 2026-09-21 01:05:16.966000 [ 594 ] DEBUG : Trying to prune unused images... (cluster.py:901, cleanup) 2026-09-21 01:05:16.966000 [ 594 ] DEBUG : Command:[docker image prune -f] (cluster.py:121, run_and_check) 2026-09-21 01:05:17.000000 [ 594 ] DEBUG : Stdout:Total reclaimed space: 0B (cluster.py:145, run_and_check) 2026-09-21 01:05:17.000000 [ 594 ] DEBUG : Images pruned (cluster.py:904, cleanup) 2026-09-21 01:05:17.000000 [ 594 ] DEBUG : Trying to prune unused volumes... (cluster.py:910, cleanup) 2026-09-21 01:05:17.000000 [ 594 ] DEBUG : Command:[docker volume ls | wc -l] (cluster.py:121, run_and_check) 2026-09-21 01:05:17.032000 [ 594 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2026-09-21 01:05:17.032000 [ 594 ] DEBUG : Volumes pruned: 1 (cluster.py:915, cleanup) ----------------- generated report log file: parallel0_1.jsonl ----------------- ============================== slowest durations =============================== 170.55s call test_attach_partition_using_copy/test.py::test_not_work_on_different_disk 169.78s call test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] 169.22s call test_attach_partition_using_copy/test.py::test_both_mergetree 167.14s call test_attach_partition_using_copy/test.py::test_only_destination_replicated 164.66s call test_attach_partition_using_copy/test.py::test_all_replicated 164.21s call test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] 21.43s setup test_distributed_ddl_password/test.py::test_truncate 18.53s setup test_attach_partition_using_copy/test.py::test_all_replicated 13.43s setup test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] 8.08s teardown test_attach_partition_using_copy/test.py::test_only_destination_replicated 6.89s teardown test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] 5.09s call test_distributed_ddl_password/test.py::test_truncate 5.08s teardown test_distributed_ddl_password/test.py::test_truncate 0.00s teardown test_attach_partition_using_copy/test.py::test_all_replicated 0.00s setup test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] 0.00s teardown test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] 0.00s teardown test_attach_partition_using_copy/test.py::test_not_work_on_different_disk 0.00s setup test_attach_partition_using_copy/test.py::test_both_mergetree 0.00s teardown test_attach_partition_using_copy/test.py::test_both_mergetree 0.00s setup test_attach_partition_using_copy/test.py::test_only_destination_replicated 0.00s setup test_attach_partition_using_copy/test.py::test_not_work_on_different_disk =========================== short test summary info ============================ FAILED test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] - Exce... FAILED test_attach_partition_using_copy/test.py::test_all_replicated - Except... FAILED test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] - Ex... FAILED test_attach_partition_using_copy/test.py::test_both_mergetree - Except... FAILED test_attach_partition_using_copy/test.py::test_not_work_on_different_disk FAILED test_attach_partition_using_copy/test.py::test_only_destination_replicated PASSED test_distributed_ddl_password/test.py::test_truncate =================== 6 failed, 1 passed in 700.31s (0:11:40) ==================== Traceback (most recent call last): File "/home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration/./runner", line 492, in subprocess.check_call(cmd, shell=True, bufsize=0) File "/usr/lib/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'docker run --rm --name clickhouse_integration_tests_q7pglx --privileged --dns-search='.' --memory=30703247360 --security-opt seccomp=unconfined --cap-add=SYS_PTRACE --volume=/home/ubuntu/_work/_temp/test/build/clickhouse:/clickhouse --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/programs/server:/clickhouse-config --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration:/ClickHouse/tests/integration --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/utils/backupview:/ClickHouse/utils/backupview --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/utils/grpc-client/pb2:/ClickHouse/utils/grpc-client/pb2 --volume=/run:/run/host:ro --volume=clickhouse_integration_tests_volume:/var/lib/docker -e DOCKER_DOTNET_CLIENT_TAG=11de0b29a15d -e DOCKER_HELPER_TAG=5dc43a6382f0 -e DOCKER_BASE_TAG=5ccda723c1fc -e DOCKER_KERBEROS_KDC_TAG=9391ecdee8d7 -e DOCKER_MYSQL_GOLANG_CLIENT_TAG=9bec2a638e6e -e DOCKER_MYSQL_JAVA_CLIENT_TAG=766bff31cfe4 -e DOCKER_MYSQL_JS_CLIENT_TAG=41ba7c2ec2a1 -e DOCKER_MYSQL_PHP_CLIENT_TAG=88be89c1e3b6 -e DOCKER_NGINX_DAV_TAG=b55ac9cd7519 -e DOCKER_POSTGRESQL_JAVA_CLIENT_TAG=a4eff5c7f4d6 -e DOCKER_PYTHON_BOTTLE_TAG=d862517635bf -e DOCKER_CLIENT_TIMEOUT=300 -e COMPOSE_HTTP_TIMEOUT=600 -e PYTHONUNBUFFERED=1 -e PYTEST_ADDOPTS="--dist=loadfile -n 10 -rfEps --run-id=1 --color=no --durations=0 --report-log=parallel0_1.jsonl --report-log-exclude-logs-on-passed-tests test_attach_partition_using_copy/test.py::test_all_replicated test_attach_partition_using_copy/test.py::test_both_mergetree test_attach_partition_using_copy/test.py::test_not_work_on_different_disk test_attach_partition_using_copy/test.py::test_only_destination_replicated 'test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk]' 'test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume]' test_distributed_ddl_password/test.py::test_truncate -vvv " altinityinfra/integration-tests-runner:226bfaf75ac1 ' returned non-zero exit status 1.